Hi, i\'m using a system call to mysqldump to create my_bak.sql which works great. then as the mysql manual dictates..
msyql --user** --pass** mydb < /fullpath/my_bak.sql;
also works great to import the data into the database, FROM THE COMMAND LINE (linux).. but when i wrap the command in a system(``) and try it via php.. it fails miserably.. (incedentally, can\'t get system to output error\'s either, guh) anybody else had this problem? I tried implicitly specifying --host, tried it with the -e source method.. everything. i\'m stumped. please *sniff* somebody help me. (raises gun to head)
msyql --user** --pass** mydb < /fullpath/my_bak.sql;
also works great to import the data into the database, FROM THE COMMAND LINE (linux).. but when i wrap the command in a system(``) and try it via php.. it fails miserably.. (incedentally, can\'t get system to output error\'s either, guh) anybody else had this problem? I tried implicitly specifying --host, tried it with the -e source method.. everything. i\'m stumped. please *sniff* somebody help me. (raises gun to head)