I’m trying to connect to an external mysql database, but port 3306 is already bound on the host hosting my minecraft server, I can change the port that the plugin attempts to connect to, but have no idea how I can redirect another port on the web hosts end to 3306, I’ve thought about changing the mysql port on the webserver, but have a feeling that this could cause complications…
I don’t want to interfere with ANYTHING else that is currently running, just add additional functionality
any suggestions?
also apologies if this is the wrong area to post this, unsure what it would come under.
You have to open the port in IPTABLES:
vi /etc/sysconfig/iptablesthen look for the line:
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 3306 -j ACCEPTcopy it and change the port to the requested port.
Then edit
vi /etc/my.cnfand change port3306to the new-port.When you’re done, run: