Added connection testing for MySQL.