Rechercher dans le manuel MySQL
5.2 The MySQL Data Directory
Information managed by the MySQL server is stored under a directory known as the data directory. The following list briefly describes the items typically found in the data directory, with cross references for additional information:
Data directory subdirectories. Each subdirectory of the data directory is a database directory and corresponds to a database managed by the server. All MySQL installations have certain standard databases:
The
mysql
directory corresponds to themysql
system database, which contains information required by the MySQL server as it runs. This database contains data dictionary tables and system tables. See Section 5.3, “The mysql System Database”.The
performance_schema
directory corresponds to the Performance Schema, which provides information used to inspect the internal execution of the server at runtime. See Chapter 26, MySQL Performance Schema.The
sys
directory corresponds to thesys
schema, which provides a set of objects to help interpret Performance Schema information more easily. See Chapter 27, MySQL sys Schema.The
ndbinfo
directory corresponds to thendbinfo
database that stores information specific to NDB Cluster (present only for installations built to include NDB Cluster). See Section 22.5.10, “ndbinfo: The NDB Cluster Information Database”.
Other subdirectories correspond to databases created by users or applications.
NoteINFORMATION_SCHEMA
is a standard database, but its implementation uses no corresponding database directory.Log files written by the server. See Section 5.4, “MySQL Server Logs”.
InnoDB
tablespace and log files. See Chapter 15, The InnoDB Storage Engine.Default/autogenerated SSL and RSA certificate and key files. See Section 6.4.3, “Creating SSL and RSA Certificates and Keys”.
The server process ID file (while the server is running).
The
mysqld-auto.cnf
file that stores persisted global system variable settings. See Section 13.7.5.1, “SET Syntax for Variable Assignment”.
Some items in the preceding list can be relocated elsewhere by
reconfiguring the server. In addition, the
--datadir
option enables the
location of the data directory itself to be changed. For a given
MySQL installation, check the server configuration to determine
whether items have been moved.
Traduction non disponible
Le manuel MySQL n'est pas encore traduit en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Document créé le 26/06/2006, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/mysql-rf-data-directory.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.