mysqlimport
| From: | Keith Spiller | Date: | Fri, 14 Sep 2001 00:51:41 +0000 |
| Subject: | mysqlimport | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12433@lists.php.net to get a copy of this message | ||
Hello,
I'm trying to use:
passthru("mysqlimport --replace --fields-terminated-by=\| --user=testuser
--password=testpassword testdb /home/testdomain/www/Admin/test_mysqltable.txt", $output);
The mysqlimport command works perfectly at the telnet command prompt, but never through Php.
When I echo $output I get '126' or '127'. But the process does not work.
I have also tried using system and exec commands.
Any suggestions? Thanks,
Keith