一段时间没有摸mysql ,几乎忘了。
在window下进入mysql 报如下错误。针对密码是空的情况
D:\mysoft\APMServ5.2.6\MySQL5.1\bin>mysql -uroot -p
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
原来是mysql 没有启动,呵呵。
解决的办法是:右击“我的电脑”→“管理”→“服务和应用程序”下的服务,在里面找到mysql;然后启动mysql服务即可.
D:\mysoft\APMServ5.2.6\MySQL5.1\bin>mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.28-rc-community MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
在window下进入mysql 报如下错误。针对密码是空的情况
D:\mysoft\APMServ5.2.6\MySQL5.1\bin>mysql -uroot -p
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
原来是mysql 没有启动,呵呵。
解决的办法是:右击“我的电脑”→“管理”→“服务和应用程序”下的服务,在里面找到mysql;然后启动mysql服务即可.
D:\mysoft\APMServ5.2.6\MySQL5.1\bin>mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.28-rc-community MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>