Solved

Copy Mysql Tables

Posted on 2010-09-11
4
522 Views
Last Modified: 2012-05-10
How to copy all mysql tables to a pendrive and install it on another machine ?
0
Comment
Question by:Jose Bredariol
4 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 42 total points
ID: 33654457
After you install MySQL on the other machine, you can dump the all the databases and move them to the new server.  This page tells about 'mysqldump': http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html
0
 
LVL 7

Assisted Solution

by:karunamoorthy
karunamoorthy earned 42 total points
ID: 33656044
Hello jbredariol,

The simplest way is
Copy the mysql data files (i.e the files are usually located in mysql->data->dbnamefolder

For example you have installed your mysql in c:\mysql folder and the dbname is mydb then

just copy all the files in c:\mysql\data\mydb to your pen drive and copy the same files to your destination and ofcourse that is to copy to mysql/data/dbname folder.

I hope you got it.

from
karunamoorthy.-
0
 
LVL 6

Assisted Solution

by:bimal_linux
bimal_linux earned 41 total points
ID: 33659402
Hi,
Please shutdown the mysql server before copying mysql files. This will help to prevent file corruption at destination server.
Various mydql backup methods are described at: http://dev.mysql.com/doc/refman/5.1/en/backup-methods.html

Regards,
Bimal Mankara
0
 

Author Closing Comment

by:Jose Bredariol
ID: 33691020
Thanks all
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
php mysql if then statement syntax 4 41
MySQL Select latest stock count records 11 68
Best database setup for image uploads 6 62
category table 2 24
Fore-Foreword Today (2016) Maxmind has a new approach to the distribution of its data sets.  This article may be obsolete.  Instead of using the examples here, have a look at the MaxMind API (https://www.maxmind.com/en/geolite2-developer-package). …
Introduction In this article, I will by showing a nice little trick for MySQL similar to that of my previous EE Article for SQLite (http://www.sqlite.org/), A SQLite Tidbit: Quick Numbers Table Generation (http://www.experts-exchange.com/A_3570.htm…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

776 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