Can't connect to MySQL server on 'localhost' (10061)解决方法
来源:百度文库 编辑:神马文学网 时间:2024/06/30 19:28:30
Can't connect to MySQL server on 'localhost' (10061)解决方法
今天把mysql数据库拷贝到另外一台机上,结果连不上,报“Can't connect to MySQL server on 'localhost' (10061)“错误
到网上search,发现一篇文章很好,两种方法都能解决此问题
1、删除my.ini(在C:\windows\下),重新运行winmysqladmin,要求输入用户名和密码后,问题解决!
2、看看hosts文件中localhost是不是指向127.0.0.1
如果是没启动mysql服务,则可运行net start mysql。
一些相关命令:
mysqld-nt --install #启动Mysql
mysql #运行Mysql
mysql -h ipAddress -u username -p
文章出处:飞诺网(www.firnow.com):http://dev.firnow.com/course/7_databases/mysql/Mysqljs/20100710/398887.html
今天把mysql数据库拷贝到另外一台机上,结果连不上,报“Can't connect to MySQL server on 'localhost' (10061)“错误
到网上search,发现一篇文章很好,两种方法都能解决此问题
1、删除my.ini(在C:\windows\下),重新运行winmysqladmin,要求输入用户名和密码后,问题解决!
2、看看hosts文件中localhost是不是指向127.0.0.1
如果是没启动mysql服务,则可运行net start mysql。
一些相关命令:
mysqld-nt --install #启动Mysql
mysql #运行Mysql
mysql -h ipAddress -u username -p
文章出处:飞诺网(www.firnow.com):http://dev.firnow.com/course/7_databases/mysql/Mysqljs/20100710/398887.html
Can't connect to MySQL server on 'localhost' (10061)解决方法
Can't connect to MySQL server on 'localhost' - 帮助 - Powered by Comsenz
mysql -Can‘t connect to local MySQL server through socket
Mysql “Can’t connect to local MySQL server” 的解决办法
ERROR 2002 (HY000):Can‘t connect to local MyS...
总结ERROR 2002 (HY000):Can't connect to...之错误
mysql问题(musees经典) - 问题 the to socket that MySQL you can is You server
no drives assigned shsucdx can't install解决方法
All the power on earth can't change destiny——M
Localhost
Can’t Stop Love
Linux Home Server HOWTO - MySQL Server
Can't Tell Me Nothin'
MySQL database on Linux Tutorial
2009: Products I Can't Live Without
Don't see how it can
25 Sites We Can't Live Without
Connect Google Talk to AIM, MSN, & Yahoo - Bi...
Social Network Aims To Connect Teachers Around the World
we can make it to order
数据库-选择MySQL还是SQL Server
mysql和SQL Server的互相转换
MySQL中文排序错误的解决方法
MySQL中文排序错误的解决方法