Problem by running mysql-connection in php-script
| From: | Ruprecht Helms | Date: | Thu, 02 Oct 2003 20:10:00 +0000 |
| Subject: | Problem by running mysql-connection in php-script | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11995@lists.php.net to get a copy of this message | ||
Hi,
I get this errormessage on all mysql-connections within a phpscript.
Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (2) in
/usr/local/apache/htdocs/controlling/liquiditaetsplan.php on line 20
The mysqld itselves starts properly on booting. What have I to configure
for correct connections within php. I installed php from the tarball.
Regards,
Ruprecht