mysql连接错误

上一篇 / 下一篇  2013-01-25 15:29:32 / 个人分类:数据库

昨天安装起来用的还好好的 今天再连接的时候就报一下错误 而且我的mysql服务已经是启动的

mysql连接出现的问题:2003 - Can't connect to MySQL server on 'localhost' (10061)
解决此问题的方法:
将MySQL Server\bin下的my.ini修改个名字,再执行:
D:\eoffice\mysql\bin>mysqld-nt --skip-grant-tables
开启另一个cmd窗口,输入mysql
D:\eoffice\mysql\bin>mysql
修改密码
mysql> use mysql

mysql> update user set password=password("123456")
   -> where user ="root";


TAG:

 

评分:0

我来说两句

日历

« 2024-05-09  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 2293
  • 日志数: 5
  • 建立时间: 2012-11-28
  • 更新时间: 2013-01-25

RSS订阅

Open Toolbar