Please check your server address and port number.
It was because the connection was trying to connect to port 8888, while needed to connect port 8889.
I am trying to connect remote mysql, but i got this error. Anyone please help me .
I found the solution .
Problem from mysql .
have to comment bind address in
/etc/mysql/mysql.conf.d/mysqld.cnf
#bind-address=127.0.0.1
restart mysql sudo service mysql restart
add to your mysql server firewall the following rule:
sudo ufw allow from IP_FROM_YOU_CONNECT to any port 3306
Please or to participate in this conversation.