Skip to content

Commit 3584e67

Browse files
committed
2017-03-03
1 parent cf47f90 commit 3584e67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mysql-Install-And-Settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
- 查看是否已经启动了:`ps aux | grep mysql`
8080
- 默认安装情况下,root 的密码是空,所以为了方便我们可以设置一个密码,假设我设置为:123456
8181
- 终端下执行:`mysql -uroot`
82-
- 现在进入了 mysql 命令行管理界面,输入:`SET PASSWORD = PASSWORD('123456');`
82+
- 现在进入了 mysql 命令行管理界面,输入:`SET PASSWORD = PASSWORD('123456');FLUSH PRIVILEGES;`
8383
- 修改密码后,终端下执行:`mysql -uroot -p`
8484
- 根据提示,输入密码进度 mysql 命令行状态。
8585
- 如果你在其他机子上连接该数据库机子报:**Access denied for user 'root'@'localhost' (using password: YES)**

0 commit comments

Comments
 (0)