Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I am doing something in a schema of tables I want to have a list of changes to put in svn, and execute it by another members of the team. As I understand, there are 2 ways: extract from logs, or implant some code inside phpMyAdmin, maybe there are other ways without coding?

share|improve this question

well - you can periodically run

mysqldump --defaults-file=/etc/mysql/debian.cnf -A --no-data

diff it with previous dump and if needed commit to svn. you might want to add some info who was recently accessing phpmyadmin [ if you use httpauth - you could extract it from apache logs with some hackery ].

anyway - analyzing mysql logs seems most reasonable to me.

share|improve this answer
No. Diff not give me Alter statements. – May 21 '10 at 21:03 - not alter statemens but still good idea what was going on. – pQd May 22 '10 at 8:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.