Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL Workbench - Can't connect to MySQL databases

Status
Not open for further replies.

peterv12

Technical User
Dec 31, 2008
108
US
I'm having trouble with MySQL workbench on Snow Leopard. I use XAMPP to connect to MySQL, and it works perfectly, and connecting from the terminal command prompt works perfectly as well. When I attempt to connect using MySQL workbench, however, I get the following error:
Code:
[COLOR=red][b]
"Failed to Connect to MySQL at localhost:3306 with user peterv
Lost connection to MySQL server at 'reading initial communication packet', system error: 61"
[/b][/color]
Can anyone give me a hand with this? I've searched the net, and found nothing relevant. Also, can someone tell me how I can check which port that MySQL is using?
Thanks,
Peter V.

MacBook Pro 17" Mac OS X (10.6.7) 2.5 GHz Intel Core 2 Duo - 4GB 667 MHz DDR2 SDRAM
 
SOLVED - the problem was that I had to find and specify the path for the mysql.sock file.

PETERV
17" MacBook Pro
Snow Leopard 10.6.7
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top