Joomla安装过程中MySQL出现错误
2014-09-19 21:13
302 查看
Joomla安装过程中MySQL出现错误
2011-01-04 15:09lordlu|分类:数据库DB|浏览1182次
数据库等信息都填写完成开始安装时,出现如下错误提示: 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 'TYPE=MyISAM AUTO_INCREMENT=12' at line 29 SQL=CREATE TABLE `jo_banner` ( `bid` int(11) NOT NULL AUTO_INCREMENT, `cid` int(11) NOT NULL DEFAULT '0', `type` varchar(30) NOT NULL DEFAULT 'banner', `name` varchar(255) NOT NULL DEFAULT '', `alias` varchar(255) NOT NULL DEFAULT '', `imptotal` int(11) NOT NULL DEFAULT '0', `impmade` int(11) NOT NULL DEFAULT '0', `clicks` int(11) NOT NULL DEFAULT '0', `imageurl` varchar(100) NOT NULL DEFAULT '', `clickurl` varchar(200) NOT NULL DEFAULT '', `date` datetime DEFAULT NULL, `showBanner` tinyint(1) NOT NULL DEFAULT '0', `checked_out` tinyint(1) NOT NULL DEFAULT '0', `checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `editor` varchar(50) DEFAULT NULL, `custombannercode` text, `catid` int(10) unsigned NOT NULL DEFAULT '0', `description` text NOT NULL, `sticky` tinyint(1) unsigned NOT NULL DEFAULT '0', `ordering` int(11) NOT NULL DEFAULT '0', `publish_up` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `publish_down` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `tags` text NOT NULL, `params` text NOT NULL, PRIMARY KEY (`bid`), KEY `viewbanner` (`showBanner`), KEY `idx_banner_catid` (`catid`) ) TYPE=MyISAM AUTO_INCREMENT=12 希望有Joomla和MySQL经验的朋友帮忙解答一下,谢谢!
安装环境是Windows 7 Ultimate 64bit,MySQL版本为:mysql-5.5.8-winx64,Joomla版本:1.5
分享到:
2011-01-04 18:18提问者采纳
这个脚本在 mysql 5.0 的版本下执行没有问题 。 由于你的版本是 5.5, mysql 的特性修改了。 所以出现错误提示。 MySQL 5.5.x has depreciated the table_type_option construct of TYPE and has replaced it with ” ENGINE ” MySQL 5.5.x已经将TYPE这个table_type_option以ENGINE替代. 进入Joomla的安装路径, 比如 /data0/htdocs/joomla/installation/sql/mysql 找到joomla.sql这个文件, 使用文本编辑器打开, 将所有的TYPE=MyISAM替换为ENGINE=MyISAM, 然后在joomla安装页面继续就可以了。 主要是mysql 数据库的调整所致。
提问者评价
谢谢!不过安装完成后访问Joomla首页没有反应(一直显示等待localhost相应),不知道是什么原因呢?
相关文章推荐
- mysql安装过程中出现错误 ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- mysql安装过程中出现错误ERROR 1820 (HY000): You must SET PASSWORD before executing this statement解决
- Mysql安装过程中出现apply security settings错误的解决方法
- MySQL安装过程中,使用net start mysql命令,出现 服务正在启动 服务无法启动 服务没有报告任何错误 的问题
- Windows2003下安装MySQL时出现的鉴权错误
- 安装DriverStudio3.2 过程中出现DSDDKEnv8.dll failed to register错误的解决方法
- MySQL 5.1 安装过程中报apply security setting错误的解决办法
- tomcat下面cocoon-2.1.16安装过程中容易出现的两个错误及解决办法
- 在安装、重装MySQL时出现could not start the service mysql error:0的错误
- 升级MySQL过程中出现Unknown command错误
- C# mysql 做成安装文件之后出现 Illegal mix of collations (gbk_chinese_ci,IMPLICIT) and (gb2312_chinese_ci,IMPLICIT) 错误
- SQL Server 2005安装过程中出现错误的解决办法
- 关于MySql安装后出现error:0错误,我的解决方法
- MySQL 安装过程中报apply security setting错误的解决办法
- windows 安装mysql出现 could not start the service mysql error:0 错误处理
- 有关IIS7安装过程中出现的问题 “出现错误,并非所有的功能被成功更改。”
- 安装silverlight 2过程中出现install.res.????.dll错误
- 关于ISA2004企业版安装过程中出现0x8007203a错误的解决!
- 在安装NetBackup时出现Error 1720 错误的解决过程处理
- redhat安装pure-ftpd+mysql时出现libmysqlclient错误的解决办法