Salym,
Disclaimer: I have no knowledge of Ruby/Rails so these are MySQL specific 1. What host string are you using - localhost or 127.0.0.1 (Windows 7 seems to have a preference for 127.0.0.1 2. What username and password are you using - default root and a blank password? That may be a challenge in most applications. Try changing the root password using the command below: $ mysqladmin -u root password NEWPASSWORD Stephen From: Salym Senyonga [mailto:[email protected]] Sent: Thursday, March 15, 2012 12:19 PM To: [email protected] Subject: Re: [LUG] can't cinnect to Mysql server on localhost (10061) Hullo, Am trying trying to connect to My database, Mysql, and I keep getting the above error. The permissions are all fine because I can connect from the commandline (terminal). Am trying to connect from a Rails application. Port 3306 is listening but the connection can't be established. Any help will go a long way. I use Windows 7 with [Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4, Perl/v5.10.1, MySQL client version: 5.1.41]
_______________________________________________ The Uganda Linux User Group: http://linux.or.ug Send messages to this mailing list by addressing e-mails to: [email protected] Mailing list archives: http://www.mail-archive.com/[email protected]/ Mailing list settings: http://kym.net/mailman/listinfo/lug To unsubscribe: http://kym.net/mailman/options/lug The Uganda LUG mailing list is generously hosted by INFOCOM: http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The mailing list host is not responsible for them in any way.
