mysql --username=tony --password=xxx --database=dbname < script.sql
...through $db->getConnection()->exec? Although the load data infile works,
my backups have the statements to create the tables if they don't exist,
which is nice to have. Trying that system call on it's own does nothing on
my computer, and i'm also worried shell_exec or system will be disabled on
the clients server.
--
View this message in context: http://www.nabble.com/executing-.sql-file-using-zend_db-tp18569584p18587440.html
Sent from the Zend DB mailing list archive at Nabble.com.
没有评论:
发表评论