Saturday, June 28, 2008

Restoring databases from .sql file created other from other than Cpanel

1. gzip -d FILENAME.GZ
2. Create MySQL DB's from Cpanel and then execute the following command in SSH :

======== mysql -D DBNAME < sqlfilename

This will insert all data into the DB

No comments: