db utils mysql bugfix
db utils cleanup
db unit tests cleanup