The intent is to use the instance struct to hold the connection
to the database as well as metadata about the instance:
- version
- flavor (mariadb or mysql)
Change is similar to prometheus-community/postgres_exporter#785
Signed-off-by: Vlad Gusev <vlad.esten@gmail.com>