formasfunction
Technical User
So I used phpMyAdmin to export about 6 databases into on .sql file. All of the tutorials I've read about restoring databases talk about restoring into a current db. If I have 6 dbs in the file, what is the correct restoration command? I'm working the restore on the command line, not phpMyAdmin. I know this command:
mysql -u [username] -p [password] [database_to_restore] < [backupfile]
but obviosly I there isn't just one "database to restore" in my .sql file, there are 6. Any help would be greatlly appreciated.
Thanks,
Greg
mysql -u [username] -p [password] [database_to_restore] < [backupfile]
but obviosly I there isn't just one "database to restore" in my .sql file, there are 6. Any help would be greatlly appreciated.
Thanks,
Greg