FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Importing mbox file with maillist.php fails with mysql error
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Importing mbox file with maillist.php fails with mysql error [message #14479] Sat, 15 November 2003 02:11 Go to previous message
hari is currently offline  hari   United States
Messages: 23
Registered: November 2003
Location: Los Angeles, California, ...
Karma:
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

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to "lock" threads (no reply allowed)?
Next Topic: where are the messages stored
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Oct 02 08:25:18 GMT 2024

Total time taken to generate the page: 0.04630 seconds