• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Port 3306 closed since MariaDB 10.2 update

Laurent Gleizes

New Pleskian
Hi everyone,

Since I've upgrade MariaDB from 10.1 to 10.2, I can no longer access databases remotely.

I've followed this article :  How to upgrade MySQL 5.5 to 5.6/5.7 or MariaDB 5.5 to 10.0/10.1/10.2/10.3 on Linux?

Firewall is ok. 3306 is open. Even when I stop firewall, 3306 cannot be reached.

I've noticed the following checkbox do not remain checked after validating.
(in English : Allow local MySQL server to accept external connections)

Capture d’écran 2020-08-20 à 14.06.19.png
 
I found the solution.

Using Debian, Plesk documentation say to modify the following file : /etc/mysql/my.cnf.

Instead, for MariaDB, the file to check is : /etc/mysql/mariadb.conf.d/50-server.cnf.

I updated the line :

bind-address = 127.0.0.1

to this one :

bind-address = 0.0.0.0

and finally :

service mariadb restart

Hope it may helps someone.
 
Please make sure you are using Strong or Very Strong passwords(prefer) for all the DB users on this server as Plesk Fail2ban doesn't covered DB users.
 
Back
Top