MySql Communications link failure
A few months ago i build a program that connects to a MySql database. The program worked fine.
Then i had to format my laptop. I installed the new slackware 13, and ever since that program that connects to a MySql Database dose't work anymore.
There's the error stack trace:
I put the mysql connect in the class path, and one other several places.
I try both Eclipse and NetBeans, with the same result.
When i try to create a connection pool in Glassfish, dosen't ping.
Does anyone knows how to solve this problem?
Thank you all in advance
Have you "grant"ed permissions for the user connecting from the foreign host (the non-MySQL host)? Tell a bit more about the context in which the error is thrown. What was happening, did it work for a while and then stop?
In the program, a Java Program, i use the same user. The access to MySql server is an local access.
The program worked fine before i format my laptop, now it dosen't work, with the newly installed OS (Slackware 13).
The error is trown as soon as i run the program.
Java puts additional layer between you and the database connection. Try:
Right now it is fully unclear where the error occurs, in the communications link or in the MySQL authentication.
Check your /etc/mysql/my.cnf
|All times are GMT -5. The time now is 11:26 PM.|