how to restore mysql database backup.

Restore the mysql database backup by using below command.
[root@LITESPEED ~]# mysql -u admin -p databasename < databasebackupfile.sql
Enter password:

After the run above command enter the mysql password.

Where
-u = user
admin = user name
-p = password

No comments:

Post a Comment