PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
bouncer
Forum Contributor
Posts: 162 Joined: Wed Feb 28, 2007 10:31 am
Post
by bouncer » Tue Mar 06, 2007 12:15 pm
thanks Everah
i have one more question, what is wrong in this command, i need to specify the table-name ?
i have tried this, and it dont work.
Code: Select all
$command = "mysql $dbname < $backupFile;"
system($command);
thanks in advance
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Tue Mar 06, 2007 1:05 pm
Have you actually ran that command at the command line to see what the result will be?
bouncer
Forum Contributor
Posts: 162 Joined: Wed Feb 28, 2007 10:31 am
Post
by bouncer » Tue Mar 06, 2007 1:16 pm
yes, but nothing happens...
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Tue Mar 06, 2007 1:25 pm
It might need to be done with mysqladmin, but I could be wrong.
bouncer
Forum Contributor
Posts: 162 Joined: Wed Feb 28, 2007 10:31 am
Post
by bouncer » Wed Mar 07, 2007 9:48 am
can i use msqldump to dump a table-name.dbf the same to dump a msql table-name ?
can i populate a mysql table using a table-name.dbf file ?
if yes, how ?
thanks in advance