I have NetBeans 6.8 in Linux Mandriva 2008 .
I have Installed MySQL . MySQL is running perfectly. But he problem is with when I connect NetBeans Program With MySQL I am getting following Error.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Last packet sent to the server was 0 ms ago.
the above 2 lines is an error.
Java Code is.
the above is java code.
I have the following MySQL component Installed.
libmysql15 - MySQL Shared libraries
mysql-client - MySQL - Client
mysql-common - MySQL common files
mysql-gui-tools - GUI Tools for MySQL 5.0 - common files
mysql-max MySQL - Server with extended functionality
perl-DBD-mysql MySQL-perl buindings
I have also attached the mysql jar file that come with NetBeans 6.8.
Can Any One Help for this ???