C:\>net stop mysql
MySQL 服务正在停止.
MySQL 服务已成功停止
|
C:\>mysql 无需输入密码
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.5.1-m2-community MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
|
C:\>net start mysql
MySQL 服务正在启动 .
MySQL 服务已经启动成功
|
C:\>mysql -u root –pabc (这里只是证明密码修改成功,这样登陆不安全)
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.5.1-m2-community MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
|