Running the CMake command while installing MySQL 5.5.xx is the presence of CMake error:the Source directory does not appear to contain CMakeLists.txt. Error, just started to think that the CMake version number has a problem, until the end to find that the current folder is wrong.
When running CMake, there is no switch to the MySQL source code folder resulting in this error, switch to the MySQL source code folder once again to run the CMake command.
The following command runs the following command within the extracted folder:
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 folder error: Running cmake command when installing MySQL 5.6.19 is cmake error:the source directory does not appear to Contai