- create a new database in localhost/phpmyadmin in browser like "personal_blog"
- put your .sql file in specific folder
- open xampp control panel & click shell button from right side
- type this command " mysql -u root -p personal_blog < G:\personal_blog.sql"
- Lets enjoy........
- if face this problem : ERROR 1813 (HY000) at line 164704: Tablespace for table 'cashbook_live.stock_summeries' exists. Please DISCARD the tablespace before IMPORT
- create a new database another name and try ageain. from step 1 .....
- copy only folder from old mysql->data folder
- Paste this in new mysql->data folder clt+a
- go to phpmyadmin in browser and click empty session data
- stop php & mysql in xampp server
- copy ibdata1 from old data to new data folder
- stop php & mysql in xampp server
- Lets enjoy........