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.”
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 ...