• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Remote access for MariaDB

OverWolf

Regular Pleskian
Hi,
I have some problem to remote access my MariaDB on plesk 17.5.3u47.
I have open on firewall MySql from a specific IP, allow the user to connect from remote, and open DB from remote connection (specific IP), but I have connection error.
The strange things are that, I cannot see any entry on Fail2Ban, even if I have insert a wrong password. So it seems that I cannot connect to DB, but I have some other blocks.

Now, my question is: is ok to only open mysql entry in plesk fw ?

Thank you
 
Do a "telnet <your server> 3306" from the client IP and check if you see the MariaDB connection banner

If no: Make sure your firewall is properly configured and make sure your MariaDB is not just listening on the loopback interface. To verify: "netstat -tulpen", you should see "0.0.0.0:3306" there and not just "127.0.0.1:3306". To change the MariaDB server listening ports, go to Plesk => Tools & Settings => Database Servers => Settings

If yes: Make sure your mysql user is properly configured. A mysql user is identified by username, password _and_ source host. All of the 3 must match for a user to be able to connect.
 
Hi EmmanuelD,

thank you for your support. I have seen that bind-address was only on 127.0.0.1. Now it works on :::3306 (so ipv4 and ipv6). I have read many article about ipv6 and some problem with DB, do you think that I should bind address only on 0.0.0.0 ?
 
If your server is reachable over IPv6 then you can keep your current listening ports configuration. However, you should make sure that you have configured your IPv6 firewall correctly (IPv6 needs its own firewall rules).
 
Back
Top