`information_schema` 数据库的自定义名称

Custom Name for `information_schema` database

有没有办法修改 SQL 服务器以默认为虚拟 information_schema 数据库指定一个不同的名称?

或者 information_schema 是一个标准,以便软件知道在哪里查找和查询信息?

我正在使用 10.5.15-MariaDB - MariaDB 服务器

我想将其重命名为 .information_schema,这样数据库就不会出现在我的 CMS 数据库列表的中间。

我无法按名称控制 hiding/displaying 数据库。

information_schema无法修改或删除。 如果我是你,我会避免任何修改默认数据库的尝试。 这是我在搜索类似问题时发现的内容:

INFORMATION_SCHEMA is a database within each MySQL instance, the place that stores information about all the other databases that the MySQL server maintains. The INFORMATION_SCHEMA database contains several read-only tables. They are actually views, not base tables, so there are no files associated with them, and you cannot set triggers on them. Also, there is no database directory with that name. *(source)