服务器之家:专注于服务器技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|Windows11|windows server|

服务器之家 - 服务器系统 - Centos - Centos5.2配置LAMP与Centos5.3配置LAMP(12)

Centos5.2配置LAMP与Centos5.3配置LAMP(12)

2019-10-11 14:12Centos教程网 Centos

localstatedir=/data/mysql/data \ with-comment=Source \ with-server-suffix=-test.com \ with-mysqld-user=mysql \ without-debug \ with-big-tables \ with-charset=gbk \ with-collation=gbk_chinese_ci \ with


“–localstatedir=/data/mysql/data” \ 
“–with-comment=Source” \ 
“–with-server-suffix=-test.com” \ 
“–with-mysqld-user=mysql” \ 
“–without-debug” \ 
“–with-big-tables” \ 
“–with-charset=gbk” \ 
“–with-collation=gbk_chinese_ci” \ 
“–with-extra-charsets=all” \ 
“–with-pthread” \ 
“–enable-static” \ 
“–enable-thread-safe-client” \ 
“–with-client-ldflags=-all-static” \ 
“–with-mysqld-ldflags=-all-static” \ 
“–enable-assembler” \ 
“–without-isam” \ 
“–without-innodb” \ 
“–without-ndb-debug” 
make && make install 
useradd mysql -d /data/mysql -s /sbin/nologin 
/usr/local/mysql/bin/mysql_install_db –user=mysql 
cd /usr/local/mysql 

延伸 · 阅读

精彩推荐