美文网首页
mysql安装完以后用户密码

mysql安装完以后用户密码

作者: 嘿嘿逗 | 来源:发表于2018-12-11 15:58 被阅读0次

    grep "password" /var/log/mysqld.log

     alter user user() identified by "1111111111111";

     update user set password=password('111111111') where user='root'

     grant all privileges on *.* to 'root'@'%' identified by '11111111' with grant option;

    关闭弱密码检测

    [mysqld]

    validate_password=off

    相关文章

      网友评论

          本文标题:mysql安装完以后用户密码

          本文链接:https://www.haomeiwen.com/subject/mqaofqtx.html