Solved

Copy Mysql Tables

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Whether to use true/false, yes/no or 0/1 11 67
update joined tables 2 55
RDBMS and No sql database 4 63
Wifi connection to laptop without router windows 10 11 38
Introduction In this installment of my SQL tidbits, I will be looking at parsing Extensible Markup Language (XML) directly passed as string parameters to MySQL 5.1.5 or higher. These would be instances where LOAD_FILE (http://dev.mysql.com/doc/refm…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

829 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