Importing mbox file with maillist.php fails with mysql error [message #14479] |
Sat, 15 November 2003 02:11 |
hari
Messages: 23 Registered: November 2003 Location: Los Angeles, California, ...
Karma: 0
|
Junior Member |
|
|
I'm trying to import mail messages in mbox format using maillist.php and I get the following error:
$ cat msg1 | /usr/bin/php /home/hari/FUDforum/scripts/maillist.php 1
Content-type: text/html
X-Powered-By: PHP/4.3.4
<br />
<b>Warning</b>: mysql_connect(): Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in <b>/home/hari/FUDforum/include/theme/default/db.inc</b> on line <b>66</b><br />
<br />
<b>Warning</b>: mysql_error(): supplied argument is not a valid MySQL-Link resource in <b>/home/hari/FUDforum/include/theme/default/db.inc</b> on line <b>66</b><br />
<br />
<b>Warning</b>: mysql_errno(): supplied argument is not a valid MySQL-Link resource in <b>/home/hari/FUDforum/include/theme/default/db.inc</b> on line <b>66</b><br />
(maillist.php:342
) : <br />
Query: Initiating mysql_connect<br />
Server Version: Unknown<br />
Is there anything obvious that I'm not doing? Otherwise is there an easier way to import mail files?
Thanks,
Hari Nair
|
|
|
|
|
|