P粉7382485222023-08-23 11:18:17
Your MySQL server only accepts *nix sockets (/var/run/mysqld/mysqld.sock if you use Ubuntu) or local connections only.
You need to edit your my.cnf file (located at /etc/mysql/my.cnf in Ubuntu) and make the following changes:
bind-address = 0.0.0.0
and comment out the following:
#skip-networking
Finally restart MySQL.
Please note that if your MySQL server is accessible from the public internet, connections from anyone will be accepted!
P粉8183062802023-08-23 00:16:57
Although it may be late, but for future visitors,
I discovered then that biz.nf refuses any connections from external sources, meaning only those hosted on biz.nf Only web applications on the Internet can access their database, otherwise you will be denied.