error message

Joomla version 1.5 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
george78
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Nov 19, 2011 3:34 am

error message

Post by george78 » Sat Nov 19, 2011 3:50 am

when I'm going thru my installation process, when I get to the "database configuration screen" after entering all the information I get the following error. Can someone please tell me what I'm doing wrong? thank you very much!!!

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 CHARACTER SET `utf8`' at line 29 SQL=CREATE TABLE `jos_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` INTEGER UNSIGNED NOT NULL DEFAULT 0, `description` TEXT NOT NULL DEFAULT '', `sticky` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0, `ordering` INTEGER 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 DEFAULT '', `params` TEXT NOT NULL DEFAULT '', PRIMARY KEY (`bid`), KEY `viewbanner` (`showBanner`), INDEX `idx_banner_catid`(`catid`) ) TYPE=MyISAM CHARACTER SET `utf8

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28202
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: error message

Post by imanickam » Sat Nov 19, 2011 4:21 am

It has to do with the version of MySQL you are using.

Review of the document http://forum.joomla.org/viewtopic.php?t=195859 would be of help.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

TrevorDurity
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 137
Joined: Sun Jan 28, 2007 3:15 pm
Contact:

Re: error message

Post by TrevorDurity » Sat Nov 19, 2011 12:07 pm

Have had this problem with the latest MySQL and older J1.5 a number of times.

There's a quick fix; You could do a search and replace on the installation script to change all "TYPE=MyISAM" to "ENGINE=MyISAM". That's the SQL file in your installation/sql folder. It will work then.

T

apc01
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Nov 27, 2011 2:46 am

Re: error message

Post by apc01 » Sun Nov 27, 2011 5:21 pm

I tried those above modifications but still got stuck with the database creation process.
When I removed the CHARACTER SET 'UTF-8', then MySQL creation process has completed and the installation is done successfully.
Please try my way when everything fails, it works for me finally.


Locked

Return to “Installation 1.5”