Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    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.
    Last edited by satish_j; 11-14-2011 at 09:22 AM.
    In love with PHP,Mysql & Javascript


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts