MySQL Adapter class with functioning connect, disconnect and sql queries.