Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
11-14-2011, 08:52 AM #1
- Join Date
- Aug 2008
- Thanked 0 Times in 0 Posts
mysql_connect ignoring Hostname parameter
On a fresh install of WAMP,mysql_connect(called from PHP page)is using the full computer name for hostname parameter.Specifying manually other values have no effect.
phpinfo() lists 'Hostname:Port' as mycomputername:0 in one of the apache2handler.That same value is getting passed in mysql_connect.
Any ideas how to resolve so that it takes the value passed as parameter to it.