Change MySQLdb to pymysql

As on up2date systems there is no more MySQLdb as it is no longer developed, and an old hand compile results in a non working solution I transformed the bucket.py from MySQLdb to pymysql which is just an easy replacement and will like that work.