Add mysql to count scores and data
Add undo also for mysql