Originally posted by saidbakr
Hi,
How can I determine the MySQL port if I'm not use the default one? in mysql_connect("","","")
:rolleyes:
Hello,
It's very simple, here is the setup to use a port in your connection string:
mysql_connect("HOSTNAME😛ORT","USERNAME","PASSWORD");
Here is an example connection string using a port:
mysql_connect("localhost:3306", "iceiceboom", "mysecretpass");
Hope this does the trick for you.