MySQL -- mysql_connect(), possible to use IP Address instead of localhost???
| From: | Scott Fletcher | Date: | Tue, 08 Jun 2004 15:48:25 +0000 |
| Subject: | MySQL -- mysql_connect(), possible to use IP Address instead of localhost??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187885@lists.php.net to get a copy of this message | ||
Hi!
I had MySQL up and running. One glaring problem is that the hostname in
the 'user' table of 'mysql' database show it as 'localhost'. I
thought it
would look better if I change it to '127.0.0.1' instead. I haven't got that
connection to work with IP address, so mysql_connect() doesn't work. What
is your thought on this?
Thanks,
Scott