查库名

 select schema_name from information_schema.schemata

查表名

 select table_name from information_schema.tables where table_schema='security'

查列名

 select column_name from information_schema.columns where table_name='users'

查字段

 select id,username,password from security.users