Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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. –  dynback.com May 21 '10 at 21:03
    
@dynback.com - not alter statemens but still good idea what was going on. –  pQd May 22 '10 at 8:10
add comment

Your Answer

 
discard

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.