bugfix:  not context manager for MySQLDB