Merges mysql_connection with mysql
Implements selecting db in the connection phase