MarcL
03-18-2009, 05:55 PM
Hi guys,
I'm having trouble running my codes, or rather connecting to mySQL.
Previously,i was able to connect to my database but after installing winamp server all the settings seem to be corrupted or edited. Although i did remember tweaking with the adminstrative tools > mysql settings to run manually, i tried changing it back to automatic but it just didn't work.
Now whenever i compile my codes, i get the following exceptions :
Enter your choice >com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Last packet sent to the server was 0 ms ago.: Could not get database connection
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Last packet sent to the server was 0 ms ago.
Any help would be appreciated. Thanks.
I'm having trouble running my codes, or rather connecting to mySQL.
Previously,i was able to connect to my database but after installing winamp server all the settings seem to be corrupted or edited. Although i did remember tweaking with the adminstrative tools > mysql settings to run manually, i tried changing it back to automatic but it just didn't work.
Now whenever i compile my codes, i get the following exceptions :
Enter your choice >com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Last packet sent to the server was 0 ms ago.: Could not get database connection
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Last packet sent to the server was 0 ms ago.
Any help would be appreciated. Thanks.