<jonsson <at> mj1.mine.nu> writes: > > i try to use the tool flat2sql.pl but i don't understand how to use it. > can someone help me > thanks. Copy SquirrelMail data directory to some place. Make sure that *.pref, *.abook and *.si? files are readable by your user. Execute command 'flat2sql.pl --data_dir=path-to-data-directory > import.sql' without single quotes. Replace 'path-to-data-directory' with path to your copy of SquirrelMail data directory. Don't use flat2sql.pl on real data_dir or make sure that you have backups. flat2sql.pl outputs SQL code. Command redirects all output to import.sql. This import.sql file can be imported into your database. For example 'mysql -u some-user -p squirrelmail < import.sql' command will prompt for password and import data into squirrelmail database on default MySQL server. Run flat2sql.pl without arguments to see other possible configuration options. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users