Hi!
I recently upgraded Ubuntu to 12.04, and ever since I can not connect to the MySQL server from Java.
I had no problems at all before the upgrade, and I upgraded the Java driver to the latest version and it made no difference at all.
Here is what I get from IntelliJ IDEA 11.0.2 when trying to contact the database:
sql> SELECT * FROM sometable
[2012-05-13 00:48:16] [08S01] 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.
I strongly suspect this is because the upgrade to 12.04, or perhaps that it upgraded the MySQL version to 5.5.22.
Server version: 5.5.22-0ubuntu1 (Ubuntu)
Any ideas of how to fix this? it would be very appreciated.