Can't conect with mysql_connect(), please help.
| From: | Gabriel Peugnet | Date: | Tue, 14 Oct 2003 21:34:27 +0000 |
| Subject: | Can't conect with mysql_connect(), please help. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-31003@lists.php.net to get a copy of this message | ||
I'm starting to use MySQL, well, trying to, and I get the next message:
Warning: mysql_connect(): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
The manual says that mysql_connect() can be called without arguments. That's
what I'm doing.
What's wrong?
Thanks,
Gabriel.