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.




Piotr Swiecicki wrote:
> 
> On 7/20/07, dloscalzo <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JMeter-problems-when-connecting-to-a-MySQL-database-tf4116479.html#a11710231
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to