This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The title pretty much explains what my problem is. Details:
When I push the "Test Connection"-button I get "Ping failed!" and this error message:
In the properties under the tab "General" i have these settings:
User name: root
The username and password is correct (tested in mysql command line) and the database exists (show database;)
Currently using mysql-connector-java-5.1.12.jar and hibernate3.
URL's I have also tried:
I was told that MySQL automaticly hosts the localhost connections when installed (I've checked that the service is running), I hope this is correct.
I've been stuck with this for several hours and thinking it is time to ask for some help if any is available=p
Don't hesitate to ask if any more details are needed.
Btw, I'm using Windows 7 (I'm mentioning this cause I've experienced that OS's can be the cause of pretty much every problem out there)
Joined: Apr 13, 2010
I got it to work by running the MySQL server instance config wizard again. Was so long since I installed MySQL that I didn't know what options to choose back then x)