Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Copy whole mySQL database to another computer

Posted on 2014-11-27
4
140 Views
Last Modified: 2014-12-10
I have setup WAMP and a php website on few local computers (for exhibition demonstration). The file hierarchy and web pages are identical. Can I simply copy a database files from one computer to other, without go through the dump backup and restore.

Tks
0
Comment
Question by:AXISHK
  • 2
4 Comments
 
LVL 11

Expert Comment

by:Radek Baranowski
ID: 40469003
No, I don't think so.

but you might try - if it works it works, if not - you will go thru normal backup/restore cycle.
0
 
LVL 34

Expert Comment

by:Dan Craciun
ID: 40469114
It should work if you don't have any activity before and during copy (best if you stop the Mysql servers on both computers).
Just copy the "data" folder and you're set.

HTH,
Dan
0
 

Author Comment

by:AXISHK
ID: 40469923
Tks, Normally, where is the data folder for mysql. I install WAMP on my Window platform, Tks
0
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 40470045
wamp\bin\mysql\mysql5.x.xx\data
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
mysql database, schema and table creation 13 57
what do I need to host my own web sites? 13 50
Test if unique ID is in log file 5 21
Wordpress Pagination 1 28
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question