VPS侦探论坛

 找回密码
 注册
查看: 9299|回复: 5

LNMP0.4 不能装ECMS?

[复制链接]
发表于 2010-9-16 18:25:03 | 显示全部楼层 |阅读模式

LNMP0.4 不能装帝国吗?
安装帝国数据库出错了
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''
INSERT INTO `mkj_enewsmemberform` VALUES (1, '个人注册表单', '
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-9-16 19:52:52 | 显示全部楼层


ECMS好像是需要mysql支持InnoDB,lnmp默认是没有编译安装上InnoDB的,需要手动重新编译安装mysql,在configure的参数上加上 --with-plugins=innobase ,其他按脚本安装就行了。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2010-9-19 09:02:41 | 显示全部楼层

原帖由 licess 于 2010-9-16 19:52 发表
ECMS好像是需要mysql支持InnoDB,lnmp默认是没有编译安装上InnoDB的,需要手动重新编译安装mysql,在configure的参数上加上 --with-plugins=innobase ,其他按脚本安装就行了。 ...

请问具体如何重新编译MYSQL?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-9-19 10:47:42 | 显示全部楼层

回复 3# 的帖子




按centos.sh中的mysql部分,在configure的参数上加上 --with-plugins=innobase ,其他按脚本安装就行了。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2010-9-19 17:52:01 | 显示全部楼层

原帖由 licess 于 2010-9-19 10:47 发表
按centos.sh中的mysql部分,在configure的参数上加上 --with-plugins=innobase ,其他按脚本安装就行了。

只编译以下这段即可吧?

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
make && make install
cd ../

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

发表于 2010-9-19 21:55:01 | 显示全部楼层

回复 5# 的帖子


en
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-10-18 12:30 , Processed in 0.027103 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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