Mysql 远程链接设置
2019-10-11 本文已影响0人
7c3b293d3b97
远程链接 GRANT ALL PRIVILEGES ON . TO 'account'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
查看密码策略 SHOW VARIABLES LIKE 'validate_password%';
set global validate_password_policy=LOW; //关闭密码强度验证
set global validate_password_length=6; //设置密码长度
flush privileges; //设置立即生效