mysql安装
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 首先可以查看下是否安装了 cmake # rpm -qa |grep cmake # cd /usr/local/software # tar zxvf cmake-2.8.8.tar.gz # cd cmake-2.8.8 # ./bootstrap # make && make install ------------------------------------ 安装bison: # tar zxvf bison-2.5.tar.gz # cd bison-2.5 # ./configure # make && make install ------------------------------------ 创建mysql用户及用户组: # groupadd mysql # useradd -r -g mysql mysql 编译安装 MySQL 5.5.23 # tar xvf mysql-5.5.23.tar.gz # cd mysql-5.5.23/ # cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql # -DMYSQL_UNIX_ADDR=/tmp/mysql.sock # -DDEFAULT_CHARSET=utf8 # -DDEFAULT