Category Archives: problem with copying database file in xampp and wamp

Having problem with copying database

Most of the user or fresh developer are having problem with copying the database file from one computer to another. i.e when you are working in localhost exporting and importing the file is tedious and cumbersome. so why dont you try this.

If you are using xampp:

1. go to xampp folder

2. inside the xampp folder go to mysql folder

3 . You will find folder named data inside the mysql folder. Just copy your database from that folder into the same location into your folder and the project folder inside the htdocs folder and run the project.

if You are using wampp :

1. go to wamp  folder

2. inside the wamp folder go to bin folder->mysql->mysql5.1.36

3 . You will find folder named data inside the mysql5.1.36 folder. Just copy your database from that folder into the same location into your folder and the project folder inside the www folder and run the project.