Switch to MySQLdb

Use MySQLdb instead of pyodbc.

Change-Id: I8f677dc708f262143bc0f6deb5b074a8e88cf748
Minor corrrections. Specify avg as arithmetic average

Idfdbb7c3ce8d7bc2709357929c9bd928af99af21

Change-Id: Ieea11e15414e0baed3c7e6a040eae1c2199e8cf4
Merge commit '25a1e8598481a31d6709dd7729da30694c70a171'