MySQL Connection Switch

Added mysql.connected parameter, to enable or disable mysql
database connection.