RESTORE MYSQL DATABASE FILES FROM ONE SERVER TO ANOTHER


You should be able to restore by copying them in your database folder.
You should copy ibdata files too.

You should do it while the server is not running.

MySQL data files is in /var/lib/mysql/

Terminal command:

     sudo service mysql stop

     sudo cp -Rp /old/databasefolder/databasename  /var/lib/mysql/

     sudo service mysql start

Comments

Popular posts from this blog

CakeAdminLTE is based on AdminLTE Theme for CakePHP 2.4+

The Rise of Tauri and Lightweight Desktop Apps

Hostinger | Free Web Hosting with PHP and MySQL, Website Builder, No Ads