I've seen this problem asked a bunch of times on here but every solution posted hasn't been helpful for me.
I just got the x86 install and installed MySQL Workbench 5.2 CE on my Computer.
After that I tried to create a New Server Instance or New Connection using localhost as the hostname, I've tried Port 3306 (and trying no port) and not putting a password for root or Default Schema.
I get the error message "Can't connect to MySQL server on '127.0.0.1' (10061)" both times.
I read a possible problem is that the MySQL Server isn't running so I tried looking for mysqld in my MySQL Workbench 5.2 CE folder but it isn't there (there isn't a bin folder either).
It's frustrating since all I want to do is create a small application that connects to MySQL Workbench for a school project (though I may use MySQL later on).
Any help would be very much appreciated. Thanks.
I had the same problem and solved it as follows.
That's it! Easy as pie.
It is indeed the case that your MySQL Server isn't running. bin is not in Workbench, its in MySQL Server directory. To start the MySQL Server ( I am assuming default installation path).
Open command prompt. Navigate to MySQL server directory using command prompt.
C:\cd Program Files\MySQL\MySQL Server 5.X\bin
Once inside bin type in:
C:\Program Files\MySQL\MySQL Server 5.X\bin :> mysqld --console
The SQL Server will start-up. Do not close this command prompt. Use Workbench utilities as you usually do in another command prompt.
If this doesn't work make sure you have MySQL Server installed on your system as Workbench is just a front end.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With