If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > How to back , restore and merge operation perform in mysql data base

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-14-11, 07:59
rohitamitpathak rohitamitpathak is offline
Registered User
 
Join Date: Feb 2011
Location: india- new delhi
Posts: 31
How to back , restore and merge operation perform in mysql data base

i m just a beginner of mysql
i want to know the command of
1- backup of database
2-restore database
3- merge two database and result will be one database...
if any one want to share their knowledge with me then i will be highly obliged...
Thank in advance
Reply With Quote
  #2 (permalink)  
Old 02-14-11, 10:16
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 623
There are tools like phpMyAdmin which helps by providing a GUI interface for executing the various commands that you are looking for. However, if you want to execute the commands yourself from the command line:

1. mysqldump - for taking backups
2. The result of the mysqldump command is a file containing SQL statements to both recreate the tables with permissions as well as insert statements to populate the tables.
3. To merge database contents you simply apply the SQL file above into the database you wish to merge the contents with.
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On