老师我都报错一天了,这谁顶得住啊

来源:4-1 LAMP之安装Mysql

cucurbitbaby

2019-05-05 22:38

[lagger@192 mysql-5.7.26]$ cmake \

> -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \

> -DMYSQL_DATADIR=/mydata/mysql/data \

> -DSYSCONFDIR=/etc \

> -DMYSQL_USER=mysql \

> -DWITH_MYISAM_STORAGE_ENGINE=1 \

> -DWITH_INNOBASE_STORAGE_ENGINE=1 \

> -DWITH_ARCHIVE_STORAGE_ENGINE=1 \

> -DWITH_MEMORY_STORAGE_ENGINE=1 \

> -DWITH_READLINE=1 \

> -DMYSQL_UNIX_ADDR=/var/run/mysql/mysql.sock \

> -DMYSQL_TCP_PORT=3306 \ 

CMake Error: The source directory "/home/lagger/mysql-5.7.26/ " does not exist.

Specify --help for usage, or press the help button on the CMake GUI.

[lagger@192 mysql-5.7.26]$ -DENABLED_LOCAL_INFILE=1 \ 

-bash: -DENABLED_LOCAL_INFILE=1: command not found

[lagger@192 mysql-5.7.26]$ -DENABLE_DOWNLOADS=1 \

> -DWITH_PARTITION_STORAGE_ENGINE=1 \

> -DEXTRA_CHARSETS=all \ 

-bash: -DENABLE_DOWNLOADS=1: command not found

[lagger@192 mysql-5.7.26]$ -DDEFAULT_CHARSET=utf8 \

> -DDEFAULT_COLLATION=utf8mb4_general_ci \

> -DENABLE_DTRACE=0 \

> -DMYSQL_MAINTAINER_MODE=0 \

> -DWITH_SSL:STRING=bundled \

> -DWITH_ZLIB:STRING=bundled \

> -DDOWNLOAD_BOOST=1 \

> -DWITH_BOOST=/usr/local/boost

-bash: -DDEFAULT_CHARSET=utf8: command not found

[lagger@192 mysql-5.7.26]$ 


写回答 关注

1回答

PHP环境LAMP/LNMP安装与配置

本课程适于PHP初学者,手把手教你LAMP/LNMP环境安装配置

45306 学习 · 224 问题

查看课程

相似问题