This class is a wrapper to simplify the access to MySQL databases.
It can execute given SQL queries after establishing a connection to a MySQL server if the connection was not already established. The connections can also be opened or closed explicitly.
The class can also retrieve the identifier of the last inserted record and check whether a given table exists.
The query results are returned into an array, a single variable, or just return the id of the last insert. Shorthand aliases of the commands are implemented.