随笔-208  评论-469  文章-30  trackbacks-0
我经常在把电脑用工具整理后,常出现了用frontmysql连不上mysql的问题。出现的错误提示是 ERROR 2003: Can't connect to MySQL server on 'localhost' (10061) 以前这个问题我也遇到过,在csdn里也有人遇到过。但我感觉大家好像都要保留一些东西一样,总是草草的讲了一下,后来我在国外的一个网站 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
posted on 2007-07-03 19:41 EricWong 阅读(15915) 评论(5)  编辑  收藏 所属分类: Sql server

评论:
# re: ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)解决方法 2008-01-09 17:03 |
你好 我现在遇到你这样的问题了 但是好像看不太懂。能否给解释一下? 感谢!   回复  更多评论
  
# re: ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)解决方法 2011-11-04 11:14 | 明哥
不知道你在写什么?能否解释一下!  回复  更多评论
  
# re: ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)解决方法 2011-11-16 10:41 | ff
操你妈,装B啊!还英文的  回复  更多评论
  
# re: ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)解决方法 2011-12-20 15:33 | f95
我在 my.conf 里找到问题  回复  更多评论
  
# re: ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)解决方法 2012-12-20 11:46 | 搜索

  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航: