隨筆-208  評論-469  文章-30  trackbacks-0
          我經(jīng)常在把電腦用工具整理后,常出現(xiàn)了用frontmysql連不上mysql的問題。出現(xiàn)的錯誤提示是 ERROR 2003: Can't connect to MySQL server on 'localhost' (10061), 以前這個問題我也遇到過,在csdn里也有人遇到過。但我感覺大家好像都要保留一些東西一樣,總是草草的講了一下,后來我在國外的一個網(wǎng)站 http://forums.devshed.com/mysql-help-4/error-2003-can-t-connect-to-mysql-server-on-localhost-26423.html 上找到了答案,現(xiàn)跟大家分享一下,希望能對大家有所幫助。

          具體解決是:
          ?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 閱讀(15949) 評論(5)  編輯  收藏 所屬分類: Sql server

          評論:
          # re: ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)解決方法 2008-01-09 17:03 |
          你好 我現(xiàn)在遇到你這樣的問題了 但是好像看不太懂。能否給解釋一下? 感謝!   回復  更多評論
            
          # 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 | 搜索

            回復  更多評論
            
          主站蜘蛛池模板: 开阳县| 阿克陶县| 巴彦县| 淮北市| 庆城县| 忻城县| 常宁市| 红原县| 叶城县| 哈尔滨市| 德惠市| 保定市| 东海县| 石家庄市| 灵石县| 海晏县| 安新县| 浪卡子县| 蓬安县| 常德市| 克东县| 轮台县| 新密市| 牡丹江市| 越西县| 永康市| 秭归县| 工布江达县| 仙游县| 临邑县| 乌鲁木齐市| 浮梁县| 油尖旺区| 南昌县| 紫金县| 威远县| 乐东| 丹凤县| 凤翔县| 榆林市| 壶关县|