• STANDALONE : Same layout as used for .tar.gz  and .zip  packages. This is the default. 

• RPM : Layout similar to RPM packages. 

• SVR4 : Solaris package layout. 

• DEB : DEB package layout (experimental). 

You can select a predefined layout but modify individual component installation locations by specifying other options. For example: 

cmake . -DINSTALL_LAYOUT=SVR4 -DMYSQL_DATADIR=/var/mysql/data 

The INSTALL_LAYOUT  value determines the default value of the secure_file_priv , keyring_encrypted_file_data , and keyring_file_data  system variables. See the descriptions of those variables in Section 5.1.8, “Server System Variables” , and Section 6.4.4.18, “Keyring System Variables” . 

• -DINSTALL_LIBDIR= dir_name 

Where to install library files. 

• -DINSTALL_MANDIR= dir_name 

Where to install manual pages. 

• -DINSTALL_MYSQLKEYRINGDIR= dir_path 

The default directory to use as the location of the keyring_file  plugin data file. The default value is platform specific and depends on the value of the INSTALL_LAYOUT CMake  option; see the description of the keyring_file_data  system variable in Section 5.1.8, “Server System Variables” . 

• -DINSTALL_MYSQLSHAREDIR= dir_name 

Where to install shared data files. 

• -DINSTALL_MYSQLTESTDIR= dir_name 

Where to install the mysql-test  directory. To suppress installation of this directory, explicitly set the option to the empty value ( -DINSTALL_MYSQLTESTDIR= ). 

• -DINSTALL_PKGCONFIGDIR= dir_name 

The directory in which to install the mysqlclient.pc  file for use by pkg-config . The default value is INSTALL_LIBDIR/pkgconfig , unless INSTALL_LIBDIR  ends with /mysql , in which case that is removed first. 

• -DINSTALL_PLUGINDIR= dir_name 

The location of the plugin directory. 

This value can be set at server startup with the --plugin_dir  option. 

