Leonardo Dias wrote:
>
> > I bet your webserver and database server are seperate machine.
> > Make sure the hostname of web and db are in the /etc/hosts on both machine,
> > it's very slow to use DNS to resolve everything
>
> That doesn't matter. We use IP to connect, not hostnames.
>
But if you use IP the mysql server may still try to resolve the host
name to for access checks.
So make sure you have the IP in the /etc/hosts of the server for the
machine you are connecting from .
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php