ABHIONLINUX
Site useful for linux administration and web hosting

2011/05/14

How to restore mysql database in linux plesk

You can use the command 'mysql' to restore the database. Exact command is given below.

mysql -u admin -p`cat /etc/psa/.psa/shadow` database_name < database_dump.sql

No comments:

Post a Comment