|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
PHPmyAdmin Update Capabilities
I like to keep the mySQL database on my home computer the same as teh one on my server but I don't know how to export from the server and then update on my home computer without dropping all the tables and then uploading the latest information. Is there any other way to do this so that I don't risk losing my entire database using PHPmyAdmin or any other means?
|
|
#2
|
||||
|
||||
|
PHPMyAdmin has a feature that lets you save your database structure & data in a .sql or .php file.
Look around on the interface, or on the PHPMyAdmin support site for more info. Once you have the file, PHPMyAdmin also provides a method for uploading it to your MySQL db.
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever. Analyze twice; hack once. The world's first existential ITIL question: If a change is released into production without a ticket to track it, was it actually released? About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect - Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire |
|
#3
|
||||
|
||||
|
Moved to the Scripts forum from PHP
|
|
#4
|
|||
|
|||
|
Yeah, that is what I have been doing but as far as I know, in order to upload it you have to delete the current tables in the database. I don't like doing that, because of the risk of losing all the data if something goes wrong.
The dump is format as an insert .sql that inserts all the tables and then the corresponding data so I don't know if there is anyway to do it differently. I do know that you have the option to just dump the data, could I use this to update the database? |
|
#5
|
||||
|
||||
|
Yes, but you would have to DELETE the data currently held by the DB in order to do it.
|
|
#6
|
|||
|
|||
|
Exactly, that is what i DON'T want to do. I only want to add any new records I created and update any that I may have changed.
|
|
#7
|
|||
|
|||
|
Quote:
The Ldap has the provision of exporting the data base. U get it done from admin link and then go to export to LDIF choose the OS and get data converted in to .LDIF file format. Once u get it in this file u can port that data in the form u want to keep in ur home computer as backup. |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > PHPmyAdmin Update Capabilities |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|