mysql安装完以后用户密码
2018-12-11 本文已影响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