Java NetBeans & MySQL Connection
Posted: 17. Sep 2011, 09:30
Hi,
I did install NetBeans 7.0.1. I did test to make a simple app with MySQL connection. Problem ... It writes me:
cannot establish a connection to jdbc:mysql://localhost:3306/mysql using com.mysql.jdbc.Driver (Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
Screen: http://files_to_forums.remontsw.eu/java_mysql_connection.jpg
I did test to install new driver from http://dev.mysql.com/downloads/connector/j/ , but it writes the same error text
(( Can you help me, please?
Thank you.
Rene
I did install NetBeans 7.0.1. I did test to make a simple app with MySQL connection. Problem ... It writes me:
cannot establish a connection to jdbc:mysql://localhost:3306/mysql using com.mysql.jdbc.Driver (Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
Screen: http://files_to_forums.remontsw.eu/java_mysql_connection.jpg
I did test to install new driver from http://dev.mysql.com/downloads/connector/j/ , but it writes the same error text

Thank you.
Rene