|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Transferring an entire database in MySQL
Hi, I would like to transfer an entire database from my computer to another computer (also running MySQL). Is there an easy way to do this?
|
|
#2
|
|||
|
|||
|
Quote:
Look up mysqldump. At the command line c:\mysql\bin\: Code:
'to export db1 to a file mysqldump dbToBeCopied > path/someFileName.sql 'then to import it mysql dbToBeCopiedInto < path/someFileName.sql You may need to supply username, password, etc, depending on your setup. The two statements are run on their respective machines, of course. Check the documentation for more options. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > Transferring an entire database in MySQL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|