MySQL Components

Let’s take a moment to look at where MySQL will reside on your system. If you do not yet have MySQL installed, refer to Appendix A, “Installing MySQL.”

Linux/UNIX Systems

The location of MySQL programs, libraries, and other files depends on the installation prefix used when MySQL was installed. Typically, the prefix is either /usr/MySQL or /usr/local/MySQL.

In the location used on your system, you will find the following subdirectories:

  • bin— Contains the MySQL executables, including the database server and all the client programs

  • lib— Contains the development libraries used to communicate with a MySQL database from your own programs

  • include— Contains the header files required to use MySQL APIs

  • data— The MySQL data directory, containing ...

Get Sams Teach Yourself 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.