For example: you want to restore database with user is root and pass is yourpassword then using this command -mysql -u root -p yourpassword databasename < /home/username_of_account/public_html/backup_folder/Your_DB_backup.sql