|
-
Dec 19th, 2005, 08:36 AM
#1
[RESOLVED] Backup local MySQL database...
Is there any easy way to backup a local MySQL database, so I can transport them to an other PC and upload the tables with the info on that PC too?
- ØØ -
-
Dec 19th, 2005, 04:05 PM
#2
Re: Backup local MySQL database...
The database is held in a directory and the tables are held in individual files in the data directory for mysql. Therefore, if you make a copy of the database directory you want to back up,, this should be sufficient.
Remember however, when restoring them, you need to ensure you restore the appropriate permissions on the directory and its files.
-
Dec 19th, 2005, 04:35 PM
#3
Re: [RESOLVED] Backup local MySQL database...
Thanks a bunch...but next time don't bee so rude...
-
Dec 19th, 2005, 05:33 PM
#4
Fanatic Member
Re: [RESOLVED] Backup local MySQL database...
Or you could export them to textfiles using phpMyAdmin and import them using the same
Never argue with fools, they will only drag you down to their level, and beat you with experience.
Q: How do you tell an experienced hacker from a novice?
A: The latter thinks there's 1000 bytes in a kilobyte, while the former is sure there's 1024 meters in a kilometer
-
Dec 19th, 2005, 07:46 PM
#5
Hyperactive Member
Re: [RESOLVED] Backup local MySQL database...
I just export them into .sql files and upload them that way.
~~~~~~~~~~~~~~
 Originally Posted by visualAd
The database is held in a directory and the tables are held in individual files in the data directory for mysql. Therefore, if you make a copy of the database directory you want to back up,, this should be sufficient.
Remember however, when restoring them, you need to ensure you restore the appropriate permissions on the directory and its files.
 Originally Posted by NoteMe
Thanks a bunch...but next time don't bee so rude...
How was he rude
????
Without balance, there could only be chaos.
Without chaos, there could be no balance.
I live with karma. Eat with destiny. Dream of life without shackles....
Yet. If life had no consequences, life could not exist, nor could it flourish.
If at first you dont succeed.You're screwed.
C++/Java NOOB.
I aint a professional at PHP, but if i can help i will.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|