ouyang 2007.10.13

文章转载

ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)解决方法

今天空间出现的错误提示是 ERROR 2003: Can\’t connect to MySQL server on \’localhost\’ (10061), 以前这个问题遇到过,国外的一个网站 http://forums.devshed.com/mysql-help-4/error-2003-can-t-connect-to-mysql-server-on-localhost-26423.html 上找到了答案,跟大家分享一下,希望能对大家有所帮助。

具体解决是:
had this problem, and this what helped me…..

I have Winxp…..

I removed the previous service, because I had an earlier version….

/bin/mysqld-nt /remove

Then I installed the service


/bin/mysqld-nt /install
Then I edited the my.ini file, by opening winMysqladmin

/bin/winmysqladmin
That command having opened the program…then you should

then select 4th tab, which is the my.ini file

You then edit the file to reflect where you had the files of MYSQL…

as the MY.ini said I had it under c:\mysql ….and I had it under
another folder altogeather….

For simplicity sake, I just copied the files from my current folder to
the specified by my.ini

This got me the access I wanted….

Very happy…

Hope this helps….

Regards Justin(James)HORT
From New Zealand, Palmy


可以任意转载, 转载时请务必以超链接形式标明文章原始出处及此声明

本文地址: http://www.ouyy.com/blog/2007/10/302.html

评论已关闭

回到页首回到页尾