[PHP-DB] Problems with MySQL inserts

2001-08-07 Thread Jon Farmer
Hi, This is a real strange one. I am writing a shell script in PHP which I am cronning to run every 5 mins. Basically it downloads email via imap. Splits it up into it relevant sections and adds it to a database. It does multiple inserts, and update and multiple selects. The problem I have is tha

Re: [PHP-DB] Problems with MySQL

2001-04-03 Thread B. van Ouwerkerk
>client with a newer version, ¿Could this be the case? ¿How does PHP >comunnicate with MySQL? Edit your php.ini file.. (probably in /usr/local/lib/php) and edit the entry for mysql.sock Bye, B. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP-DB] Problems with MySQL

2001-04-03 Thread Jeffrey A Schoolcraft
* Bruno ([EMAIL PROTECTED]) wrote: > The strange thing about this is that MySQL leaves the mysqld.sock in /tmp, > not in the directory that the error reports. I've just installed MySQL > v3.23, and I had v3.22 before, which had it's sock file on /var/run/mysqld. You might want to make sure your p

[PHP-DB] Problems with MySQL

2001-04-03 Thread Bruno
Hello, I've just installed a porgram that uses PHP4 to access a MySQL database. The problem is that I get the following error when I try to access the PHP file via web : Warning: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /usr/local/hlstats/hlstatsi