Posted by Good Time Tribe on 10/31/06 14:50
> Warning: mysql_connect() [function.mysql-connect]: Can't connect to
> local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in
> /web/www/domain/users/u/username/createdb.php on line 2
> Could not connect: Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
>
> Ugly, very ugly..
>
> m.- Hide quoted text
That's actually a very helpful and friendly error message. It first
tells you why it failed. Then it tells you which machine is responsible
for the failure. Even further, it tells you what it expects that
machine to be responsible for. It tells you the full path to the
script. It also tells you the script's name and the line number of the
problem statemetns.
ppmd
Navigation:
[Reply to this message]
|