Cleaned up the MySQL driver a lot.