mysql5.7

xiaoxiao2021-02-28  30

1、mysql5.7 特别讨厌。 (1)跳过原始密码,重设密码      vim /etc/my.cnf         [mysqld]       添加: skip-grant-tables      重启mysql #mysql mysql> update mysql.user set authentication_string=password('Heyajing123!') where user='root'; (2)第一次启动后,生成的原始随机密码        # grep 'temporary password' /var/log/mysqld.log   2、  
转载请注明原文地址: https://www.6miu.com/read-2627989.html

最新回复(0)