When mysql-cmake is compiled into MySQL, the following error occurs: thesourcedirectory "xxx" doesnotexist. how can this problem be solved?

Source: Internet
Author: User
System ubuntu13.04gccversion4.7.3cmakeversion2.8.10.1 after installing cmake, in the mysql extract Directory, use the following command line: cmake.-DCMAKE_INSTALL_PREFIXusrlocalmysql-DMYSQL_DATADIRdatamysql-DSYSCONFDIRetc-DWITH_MYISAM_STORAGE_ENGINE1-DWITH_INNOBASE_STOR... mysql installation failure cmake installation

System ubuntu 13.04 \ gcc version 4.7.3 \ cmake version 2.8.10.1

After installing cmake, run the following command in the mysql extract Directory:
Cmake .\
-DCMAKE_INSTALL_PREFIX =/usr/local/mysql \
-DMYSQL_DATADIR =/data/mysql \
-DSYSCONFDIR =/etc \
-DWITH_MYISAM_STORAGE_ENGINE = 1 \

-DWITH_INNOBASE_STORAGE_ENGINE = 1 \

-DWITH_MEMORY_STORAGE_ENGINE = 1 \

-DWITH_READLINE = 1 \
-DMYSQL_UNIX_ADDR =/tmp/mysqld. sock \

-DMYSQL_TCP_PORT = 3306 \
-DENABLED_LOCAL_INFILE = 1 \

-DWITH_PARTITION_STORAGE_ENGINE = 1 \
-DWITH_EXTRA_CHARSETS: STRING = utf8, gbk \
-DDEFAULT_CHARSET = utf8 \
-DDEFAULT_COLLATION = utf8_general_ci \

Error reported, prompt cake error: the source directory "/usr/local/src/software/mysql-5.6.11/DDEFAULT_COLLATION = utf8_general_ci" does not exist.

Why? If you delete the last row, the last and second lines cannot find the directory!

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.