jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Pfeiler <pfei...@e-spirit.de>
Subject Re: JMeter problems when connecting to a MySQL database
Date Fri, 20 Jul 2007 15:31:45 GMT
On Friday 20 July 2007 17:25, dloscalzo wrote:
> After reading the Jmeter user manual page closely, I changed the database
> URL to the following:
>
> jdbc:mysql://<serveraddress>/<databasename>
>
> I scanned the machine and port 3306 is not open.  Is this a possible cause
> of the issue?
>
> The log file only writes headers, but Jmeter hangs when the test is run and
> nothing happens until I stop the job.  I'm assuming that it is now
> attempting to communicate with the database on the machine, but is unable
> to.  There is no firewall running on this machine either.

check out the mysql config file. skip-networking or an option like this and 
comment

>
> Piotr Swiecicki wrote:
> > On 7/20/07, dloscalzo <dloscalzo@isminc.com> wrote:
> >> Hello Piotr, thank you for responding so quickly.
> >>
> >> I have downloaded the JDBC drive for MySQL, but I am not sure if I have
> >> installed it correctly.
> >>
> >> I have copied the mysql-connector-java-5.0.6-bin.jar file to the
> >> /lib/ext directory, but I now see the following error message repeated
> >> in the output
> >> file:
> >>
> >> com.mysql.jdbc.CommunicationsException: Communications link failure due
> >> to
> >> underlying exception:
> >
> > It depends what the underlying exception says.  Without those details
> > I can only guess that the database is not authenticating your
> > connection.  Are the username, password and database name correct?  Is
> > your host allowed to contact the database you are connecting to?
> >
> > --
> > Piotr Swiecicki
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org

-- 
André Pfeiler 

The e-Spirit Company GmbH
Barcelonaweg 14
D-44269 Dortmund
http://www.FIRSTspirit.de 

fax: +49 231 28661-59
e-mail: pfeiler@e-Spirit.de 

Geschäftsführer: 
Jörn Bodemann, Michael Kenfenheuer
Amtsgericht Dortmund (HRB 13961)

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message