RE: [PHP] MySQL -- mysql_connect(), possible to use IP Address instead of localhost???
| From: | Jay Blanchard | Date: | Tue, 08 Jun 2004 16:00:48 +0000 |
| Subject: | RE: [PHP] MySQL -- mysql_connect(), possible to use IP Address instead of localhost??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187886@lists.php.net to get a copy of this message | ||
[snip]
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?
[/snip]
Look better?