nephesh Posted January 13, 2012 Share Posted January 13, 2012 I am trying to manually install MySQL 5.5 on windows 7 64bit. I've extracted the zip to the C:\mysql\ directory, created a "my.ini" file using one of the samples and moved it into the "C:\windows\" directory. When I command prompt at the C:\mysql\bin\ directory "mysql" I get the error: "ERROR 2003 (HY000) can't connect to mysql server on 'localhost' 10061". What should I check? I just wanted to learn how to configure it manually so I didn't use the .msi. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/254929-cant-connect-to-mysql-server-on-localhost-10061/ Share on other sites More sharing options...
kicken Posted January 13, 2012 Share Posted January 13, 2012 Just use the installer to set it up, that way it takes care of installing it as a service and starting it up. You can learn about configuring it later by opening the my.ini file and reading through the comments and associated documentation in the manual. Quote Link to comment https://forums.phpfreaks.com/topic/254929-cant-connect-to-mysql-server-on-localhost-10061/#findComment-1307141 Share on other sites More sharing options...
requinix Posted January 13, 2012 Share Posted January 13, 2012 mysqld is the server process: that needs to be running before you can connect to it. Quote Link to comment https://forums.phpfreaks.com/topic/254929-cant-connect-to-mysql-server-on-localhost-10061/#findComment-1307144 Share on other sites More sharing options...
nephesh Posted January 13, 2012 Author Share Posted January 13, 2012 Ok, then how do I get the mysqld process started? Quote Link to comment https://forums.phpfreaks.com/topic/254929-cant-connect-to-mysql-server-on-localhost-10061/#findComment-1307232 Share on other sites More sharing options...
fenway Posted January 16, 2012 Share Posted January 16, 2012 You can usually start services manually via the "services" control panel interface -- but if you installed it correctly, it should run at startup. I'm fairly sure it's trivial to change. Quote Link to comment https://forums.phpfreaks.com/topic/254929-cant-connect-to-mysql-server-on-localhost-10061/#findComment-1308214 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.