The Execute CMake command when installing MySQL 5.5.xx is the presence of CMake error:the Source directory does not appear to contain CMakeLists.txt. Error, just beginning to think that the CMake version has a problem, until the end to find that the current directory is wrong.
Do not switch to the MySQL source directory when executing cmake caused this error, switch to the MySQL source directory to re-execute the cmake command.
The following command executes the following command within the extracted directory:
CMake \
-dcmake_install_prefix=/usr/local/mysql \
-dmysql_unix_addr=/usr/local/mysql/mysql.sock \
-ddefault_charset=utf8 \
-DDEFAULT_COLLATION=UTF8_GENERAL_CI \
-dwith_innobase_storage_engine=1 \
-dwith_archive_storage_engine=1 \
-dwith_blackhole_storage_engine=1 \
-DMYSQL_DATADIR=/DATA/MYSQLDB \
-dmysql_tcp_port=3306 \
-denable_downloads=1
MySQL Config directory error: executing cmake command When installing MySQL 5.6.19 is cmake error:the source directory does not appear to Contai