Error 1130 in mysql

自闭症网瘾萝莉.ら 提交于 2019-11-28 21:27:51

Your client IP is not allowed to connect to this server, you must add it to allowed client account For exemple, assuming you add an user account having all rights in one database :

grant all on db.* to 'username'@'192.168.0.1';

Where db is database name, username the username , and your clients IP is 192.168.0.1

See docs for details of user account creation

Saeed Zarinfam

On your server run mysql from command line:

mysql -u root -p -h localhost -P 3306

Then run this command in mysql shell:

>use mysql
>GRANT ALL ON *.* to root@'%' IDENTIFIED BY 'yourpassword';
>FLUSH PRIVILEGES;

Have a nice time.

On your server run mysql from command line:

mysql -u root -p -h localhost -P 3306 Then run this command in mysql shell:

use mysql

GRANT ALL ON . to root@'%' IDENTIFIED BY 'pass';

FLUSH PRIVILEGES;

Perfect! great steps and resolve the error Failure loading users data from backend [xx.xx.xx.x:3306] for service [Write Failover]. MySQL error 1130, Host

'xx.xx.xx.x' is not allowed to connect to this MariaDB server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!