connect failed: Host '***' is not allowed to connect to this MariaDB server
MySQL连接一连接就出现上面那句话,
//1.进入MySQL
mysql -uroot -p
//2.使用mysql数据库
use mysql;
//3.查看user配置
select host,user,password from user;
//4.修改配置
update user set host = '%' where user = 'root';
//5.刷新
flush privileges;
3.