I cannot figure out how to define a custom port for mysql.
In lib/userdata.inc.php I've tried using $sql['host']='ip:port'; and also using $sql['host']='ip'; $sql['port']='port';
These don't work, when I try it says "Can't connect to MySQL server on".It only seems to work if my sql server is using the default port. I have also confirmed that I can connect to the custom port from a client. Can I not specify a port?
Question
draggy
I cannot figure out how to define a custom port for mysql.
In lib/userdata.inc.php I've tried using $sql['host']='ip:port'; and also using $sql['host']='ip'; $sql['port']='port';
These don't work, when I try it says "Can't connect to MySQL server on".It only seems to work if my sql server is using the default port. I have also confirmed that I can connect to the custom port from a client. Can I not specify a port?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.