当前位置:Gxlcms > 数据库问题 > centos 操作系统 mysql5.7 配置远程登陆操作

centos 操作系统 mysql5.7 配置远程登陆操作

时间:2021-07-01 10:21:17 帮助过:15人阅读

解决办法:

//设置安全级别
set global validate_password_policy=0;
//设置最小长度
set global validate_password_length=4;


#desc user;
create user yang IDENTIFIED by ‘123456‘;

技术分享

 


select User ,authentication_string,Host from user;

技术分享

 

重要步骤:
grant all privileges on *.* to ‘yang‘@‘%‘ with grant option;

flush privileges;

参考文章:
http://www.cnblogs.com/yoursoul/p/6264059.html

 

 

centos 操作系统 mysql5.7 配置远程登陆操作

标签:mysql5.7   报错   重要   ccf   global   操作系统   tables   文章   安全   

人气教程排行