Reading In Database Backups : Mysqladmin « Command MySQL « SQL / MySQL






Reading In Database Backups

   


mysqladmin -u root -p create dbname

mysql -u root -p dbname < backupfile.sql

   
    
    
  








Related examples in the same category

1.Create database with mysqladmin
2.Drop database with mysqladmin
3.mysqldump creates a backup of a database.
4.Creates a database named db1 with mysqladmin
5.Removes the db1 database from your system with mysqladmin
6.Check which version of MySQL is running.
7.Returns status information and a process list.
8.Returns current status information about the MySQL server.
9.Checking MySQL server status