mysql使用小结

一、修改 mysql 的 root 密码

  mysql> use mysql; 
  mysql> update user set password=password('123456') where user='root' and host='localhost'; 
  mysql> flush privileges; 

  CTRL+C 退出重新进入即可!

posted @ 2018-08-29 22:14  周兴兴  阅读(122)  评论(0)    收藏  举报