Re: Restoring a backup

From: Date: Fri, 20 Jul 2001 11:04:54 +0000
Subject: Re: Restoring a backup
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-58857@lists.php.net to get a copy of this message
Not usre if anyone answered your question yet, but, first off, I'm not positive. I would try............ mysql -u root -p !database_name! < !filename! ignore the (!) characters. :) paul Don wrote: > > Hi, > > I have a cron script that issues a: > > mysqldump --opt -p"password" myfile_db /home/ftpadmin/pub/myfile_db.backup > > Now, I wish to do the opposite, that is, restore it into my database. After > issuing a: > > mysql -p > > and entering the password, what command do I enter to restore my database > from the backup file?

« previous php.general (#58857) next »