Oct-11-2021, 09:27 AM
(This post was last modified: Oct-11-2021, 11:41 AM by Pedroski55.)
Connecting to the cloud server via ssh, I ran:
sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
I changed the line bind-address to 0.0.0.0 (I also tried *)
But I still get :
pymysql.err.OperationalError: (1130, "183.206.16.30' is not allowed to connect to this MySQL server")
sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
I changed the line bind-address to 0.0.0.0 (I also tried *)
Quote:pedro@ebs-105422:~$ nc -v -w 2 123.456.789.123 3306
Connection to 123.456.789.123 3306 port [tcp/mysql] succeeded!
pedro@ebs-105422:~$
But I still get :
pymysql.err.OperationalError: (1130, "183.206.16.30' is not allowed to connect to this MySQL server")