Home > LNMP | LAMP > lnmp重新编译安装InnoDB

lnmp重新编译安装InnoDB

mysql-innodb

帮网友搞了LNMP一键包,需要InnoDB,之前的lnmp0.8没有带InnoDB,所以需要重新编译安装下mysql,让mysql支持InnoDB引擎。

1、进入源码目录

cd /root/lnmp0.8/mysql-5.1.60

make clean

2、运行命令

./configure –prefix=/usr/local/mysql –enable-assembler –with-charset=utf8 –with-extra-charsets=complex –enable-thread-safe-client –with-big-tables –with-readline –with-ssl –with-embedded-server –enable-local-infile –with-pic –with-fast-mutexes –with-client-ldflags=-static –with-mysqld-ldflags=-static –with-plugins=all

3、make && make install


若非注明,本博客内容均为原创或翻译自Linode Library,教程默认Centos为linux发行版,转载请注明转自linode中文教程www.linode.im。linode中文教程QQ群:185393826,一起讨论linode及linux,linode中文教程、linode代购、linode合租、linode推介、linode返佣、linode优惠。日本VPS、美国VPS、海外独立服务器代购均在linode.im。

Categories: LNMP | LAMP Tags: ,
  1. May 14th, 2013 at 22:29 | #1

    性价比不错的VPS提供商。

    • May 15th, 2013 at 19:18 | #2

      欢迎主机啦光临,我还有个linode.la,感兴趣拿去。

  1. No trackbacks yet.