The newly installed mysql has two databases: information_schema and mysql. What are they doing? Can I delete it?
Of course, it cannot be deleted.
1. information schemaIt is all the dictionary information used by the mysql System, including the database information, tables, dictionaries, stored procedures, and other object information and process access and status information.
The database system cannot be used once it is deleted.
2. mysql databases store system-related permissions, objects, and status information. It cannot be deleted.
In addition, these two databases are very small and do not occupy space. Why do you want to delete them .?
What is information_schema (17) in the mysql database? Can I delete it? What if I delete it? For example, a cms program uses a php + mysql database. If information_schema (17) is deleted before the cms program is installed, will it be automatically created during the installation process? Thank you.
If you follow the explanations on the Internet or in the book, it may be difficult for you to understand what information_schema is. The explanations on the Internet and in the book are nonsense. You just copied me And I copied you.
Simply put, the information_schema data table stores information about all databases on the MySQL server. Such as the database name, database table, and data type and access permissions in the table column. Simply put, on this MySQL server, what databases are there, what tables are there in each database, what is the field type of each table, And what permissions each database needs to access, and so on.