Chapter 10. The MySQL Data Directory

Conceptually, most relational database systems are similar: They are each made up of a set of databases, and each database includes a set of tables. But every system has its own way of organizing the data it manages, and MySQL is no exception.

By default, all data managed by the MySQL server mysqld is stored under a location called the MySQL data directory. All databases are stored here, as well as the status files that provide information about the server's operation. You should be familiar with the layout and use of the data directory if you perform any administrative duties for a MySQL installation.

This chapter covers the following topics:

  • How to determine the location of the data directory. You need ...

Get MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.