我的MySQL连接字符串是:
"Server=localhost;User ID=root;Password=123;pooling=yes;charset=utf8;DataBase=.;"
我的问题是:
DataBase=.
SELECT SCHEMA_NAME FROM INFORMATION_SCHEMA.SCHEMATA
SELECT VARIABLE_NAME, VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME = 'VERSION'
INFORMATION_SCHEMA