Solved

Copy Mysql Tables

Posted on 2010-09-11
4
521 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP strip quotes and line feeds out of array 13 49
php image upload 3 37
Mysql sync between 3-4 mysql db 4 25
mysql update statement 3 0
Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

861 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now