I have a php script which is being used to install a database on my windows server in mysql. The script creates the database and populates it. When I run the install.php file I keep getting the following error message:
Database connect failed (2005): Unknown MYSQL server host 'localhost:3307' (11004)
I have successfully installed other php / mysql databases using this exact same server name (localhost:3307) on the same server
I have also successfully used the install.php script to install the same database on another computer where Mysql is running on a default port (3306) where the address being used is only "localhost"
I have tried using an IP address and netbios name, all with the same error message
I presume it is a port issue ?
Any ideas ?