摘要:
查询数据库中所有表名select table_name from information_schema.tables where table_schema='csdb' and table_type='base table';查询指定数据库中指定表的所有字段名select column_name from information_schema.columns where table_schema=... 阅读全文
摘要:
create database ${db_name} default charset utf8 COLLATE utf8_general_ci;grant all on ${db_name}.* to '${user_name}'@'localhost' IDENTIFIED BY '${password}';flush privileges; 阅读全文