Improvements to the MySQL transport