View Full Version : Resolved mysql_connect ignoring Hostname parameter

11-14-2011, 08:52 AM
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.