Wind Network (ithov.com) original article: Today compiled mysql-5.6.15-linux-glibc2.5-x86_64.tar.gz version, must be an error, the information is as follows:
Still reported SH:/usr/local/mysql/bin/my_print_defaults:cannot execute binary file error
View MySQL official about 5.6 of the source code installation documents, found that the official use CMake command to compile, run CMake error information as follows:
[Root@localhost mysql]# CMake.
CMake error:the source directory "usr" does not appear to contain CMakeLists.txt.
Specify--HELP for usage, or press the Help button on the CMake GUI.
See the MySQL folder, found no cmakelists file, I see. Re-download, we need to find MySQL Community Server 5.6.15 in this version of (mysql-5.6.15.tar.gz), screenshots are as follows:
After downloading completes, the decompression uses the CMake command, installs successfully.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.