💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
[TOC] ## 常用数据库>=5.7版本 保存有账户信息,权限信息,存储过程,event,时区等相关信息的数据库 ``` mysql ``` 包含了一些列存储过程,自定义函数以及视图来帮助我们快速的了解系统的元素数据 ``` sys ``` 用于收集数据库新能的参数 ``` performance_schema ``` 记录着数据中所有的其他数据库的信息 ``` information_schema ``` ## 常用的系统表 系统数据库 ``` information_schema ``` 记录着所有数据库名的表 ``` schemata ``` 记录着所有表名的表 ``` tables ``` 记录着所有列名的表 ``` columus ``` ## 三张表的操作 查询数据库名 ``` select schemata_name from information_schema.schemata; ``` 查询数据库的表名 ``` select table_name from information_schema.tables where table_schemata=database(); ``` 查询数据库的列名 ``` select columus from information_schema.columus where table_schemata=database() and tables_name ='表名'; ```