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!