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?

link|improve this question

35% accept rate
feedback

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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