Hi I am building an application and I need to find the ipaddress and port on which mysql is on my host server
Does anyone know how to do this or is there code that can find this information out
Thanks in advance
Maboroshi
How to find Hostname and Port of Mysql
Moderator: General Moderators
Do a whois on your host to get the ip (or if being in a win32 enviroment, try the dos-cmd:
ping http://www.host.com
Port is likely 3306 as default setting.
ping http://www.host.com
Port is likely 3306 as default setting.