• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

How do i open 3306 for outside connections

R

Roosta21

Guest
Hi,

I have a client that wants to use navicat software, which connects to mysql remotley

How do i open/mysql to listn on port 3306

Is this all i need to do for anyone to access their database remotely

R
 
You'll have to check that the firewall isn't blocking port 3306 (you could close the port except for your client's IP address) and MySQL needs to allow remote access for the database user (can also be IP restricted), not just localhost.
 
Hi I tried the following line

iptables -A INPUT -i eth0 -p tcp -m tcp --dport 3306 -j ACCEPT

ive nmap the server and the port still is not showing.
 
The firewall is disabled in plesk and the external firewall is also deactivated.

Not sure if there could be some other iptables somewhere, as im not sure where to look..
 
In the my.cnf I deleted skipnetworking and added

port = 3306
 
3306 is the default port, but yeah, skipnetworking might have been a problem. :) Probably something your host put in.
 
make sure your database user is configure to accept any host (represented by a "%" in phpmyadmin)under privledges

or a specific IP address if you want to be more secure about it.
 
Back
Top