mysql使用小结

一、修改 mysql 的 root 密码

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

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

猜你喜欢

转载自www.cnblogs.com/gzbit-zxx/p/9557298.html