diff --git a/plugins/mysql/versions/5.5/install.sh b/plugins/mysql/versions/5.5/install.sh index 2e8e0187c..cbec562d3 100755 --- a/plugins/mysql/versions/5.5/install.sh +++ b/plugins/mysql/versions/5.5/install.sh @@ -30,6 +30,17 @@ Install_mysql() cd ${mysqlDir}/mysql-5.5.62 && cmake \ -DCMAKE_INSTALL_PREFIX=$serverPath/mysql \ + -DMYSQL_USER=mysql \ + -DMYSQL_TCP_PORT=3306 \ + -DMYSQL_UNIX_ADDR=/var/tmp/mysql.sock \ + -DWITH_MYISAM_STORAGE_ENGINE=1 \ + -DWITH_INNOBASE_STORAGE_ENGINE=1 \ + -DWITH_MEMORY_STORAGE_ENGINE=1 \ + -DENABLED_LOCAL_INFILE=1 \ + -DWITH_PARTITION_STORAGE_ENGINE=1 \ + -DEXTRA_CHARSETS=all \ + -DDEFAULT_CHARSET=utf8 \ + -DDEFAULT_COLLATION=utf8_general_ci \ && make && make install && make clean \ && echo '5.5' > $serverPath/mysql/version.pl echo '安装完成' > $install_tmp diff --git a/scripts/install.sh b/scripts/install.sh index a46049a9b..ec2e49dd4 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -28,6 +28,7 @@ yum groupinstall -y "Development Tools" paces="wget python-devel python-imaging zip unzip openssl openssl-devel gcc libxml2 libxml2-dev libxslt* zlib zlib-devel libjpeg-devel libpng-devel libwebp libwebp-devel freetype freetype-devel lsof pcre pcre-devel vixie-cron crontabs" yum -y install $paces yum -y lsof net-tools.x86_64 +yum -y install ncurses-devel yum -y install epel-release python-pip python-devel pip install --upgrade pip pip install -r /www/server/mdserver-web/requirements.txt