VPS侦探论坛

 找回密码
 注册
查看: 13306|回复: 7

mysql启用InnoDB

[复制链接]
发表于 2010-8-3 03:27:39 | 显示全部楼层 |阅读模式

请问如何在mysql启用InnoDB 是否需重新编译mysql
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-8-3 09:08:12 | 显示全部楼层

回复 1# 的帖子



需要重新编译添加上--with-plugins=innobase
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-8-3 10:52:37 | 显示全部楼层

我直接在你原来的代码上加上这个不知道可以不
echo "============================mysql install=================================="
cd $cur_dir
tar -zxvf mysql-5.1.44.tar.gz
cd mysql-5.1.44/
./configure --prefix=/usr/local/mysql --with-extra-charsets=all --enable-thread-safe-client --enable-assembler --with-charset=utf8 --enable-thread-safe-client --with-extra-charsets=all --with-big-tables --with-readline --with-ssl --with-embedded-server --enable-local-infile --with-plugins=innobase
make && make install
cd ../
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2010-8-3 10:53:56 | 显示全部楼层



是否需要卸载原来的LNMP
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2010-8-3 13:37:16 | 显示全部楼层

回复 4# 的帖子


可以不用卸载

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2010-8-3 14:37:08 | 显示全部楼层

直接编译就好,还是卸载mysql再次编译安装?我不小心删除了FTP pureftpd的数据库现在重新编译安装都无法安装上
发表于 2010-8-3 19:10:36 | 显示全部楼层

回复 6# 的帖子


pureftpd 是在浏览器中运行http://ip/ftp/ 安装的时候添加到数据库里面的。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-3-27 23:16:03 | 显示全部楼层

需要重新编译添加上--with-plugins=innobase

[ 本帖最后由 zhaojiyu 于 2013-3-28 09:19 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-24 11:29 , Processed in 0.027515 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表