Changing mysql module to support multiple db

Changing mysql module to support multiple db