My connection string for MySQL is:
\"Server=localhost;User ID=root;Password=123;pooling=yes;charset=utf8;DataBase=.;\"
My questions are :>
show Databases;
Will return you all the registered databases.
And
show variables;
will return a bunch of name value pairs, one of which is the version number.