Host is not allowed to connect to this MariaDB server的解决方法

客户端【ip:10.3.12.50】远程登陆mysql报错,解决方法:
对Mariadb、mysql进行赋权限即可,具体操作方法如下
进入mysql:mysql -u root -p

MariaDB [(none)]> grant all privileges on *.* to 'root'@'10.3.12.50' identified by 'root' with grant option;

你可能感兴趣的:(Host is not allowed to connect to this MariaDB server的解决方法)