-
AuthorPosts
-
June 15, 2011 at 2:52 pm #165252
Keep getting the following when trying to install the quickstart…
Running on localhost (XAMPP), windows.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’ at line 41 SQL=CREATE TABLE `jos_weblinks` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `catid` int(11) NOT NULL DEFAULT ‘0’, `sid` int(11) NOT NULL DEFAULT ‘0’, `title` varchar(250) NOT NULL DEFAULT ”, `alias` varchar(255) NOT NULL DEFAULT ”, `url` varchar(250) NOT NULL DEFAULT ”, `description` text NOT NULL, `date` datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, `hits` int(11) NOT NULL DEFAULT ‘0’, `state` tinyint(1) NOT NULL DEFAULT ‘0’, `checked_out` int(11) NOT NULL DEFAULT ‘0’, `checked_out_time` datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, `ordering` int(11) NOT NULL DEFAULT ‘0’, `archived` tinyint(1) NOT NULL DEFAULT ‘0’, `approved` tinyint(1) NOT NULL DEFAULT ‘1’, `access` int(11) NOT NULL DEFAULT ‘1’, `params` text NOT NULL, `language` char(7) NOT NULL DEFAULT ”, `created` datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, `created_by` int(10) unsigned NOT NULL DEFAULT ‘0’, `created_by_alias` varchar(255) NOT NULL DEFAULT ”, `modified` datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, `modified_by` int(10) unsigned NOT NULL DEFAULT ‘0’, `metakey` text NOT NULL, `metadesc` text NOT NULL, `metadata` text NOT NULL, `featured` tinyint(3) unsigned NOT NULL DEFAULT ‘0’ COMMENT ‘Set if link is featured.’, `xreference` varchar(50) NOT NULL COMMENT ‘A reference to enable linkages to external data sets.’, `publish_up` datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, `publish_down` datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, PRIMARY KEY (`id`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_state` (`state`), KEY `idx_catid` (`catid`), KEY `idx_createdby` (`created_by`), KEY `idx_featured_catid` (`featured`,`catid`), KEY `idx_language` (`language`), KEY `idx_xreference` (`xreference`) ) TYPE=MyISAM ;
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
June 15, 2011 at 4:13 pm #396525HI markus,
I downloaded and installed JA Cloris J 1.6 on my localhost using wampp and it installed perfectly. Just followed the default installation. Can you explain on which step does this error throw up? and your xampp version? that will help in the debugging process.
Regards
Arvind
judeur Friendjudeur
- Join date:
- June 2011
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
June 15, 2011 at 10:02 pm #396561I had the exact same problem; tried the quickstart both on mamp and on wamp and got the exact same error message (also at line 41). A regular joomla installation, and then the template upload, is no problem, but this won’t include the modules, for instance.
judeur Friendjudeur
- Join date:
- June 2011
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
June 16, 2011 at 10:39 am #396660I suppose markus and I have the same problem, and I’ll answer your question.
This problem occurred at the stage where a database should have been populated. I tried it both with MAMP (1.9.6) and the latest WAMP server (on a different computer). I created an empty database beforehand.June 16, 2011 at 4:50 pm #396723Exactly the same problem! 🙂 Good.. so then it´s not just me 😉
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
June 16, 2011 at 4:56 pm #396727It is because all those systems are using a too late version of MySQL.I do not use Xampp but use Wamp and it is vary simple to switch to an earlier version using that.
June 16, 2011 at 5:11 pm #396729So the “fix” is to downgrade the database? isn´t there some thing we can do with the sql instead? 🙂
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
June 16, 2011 at 6:09 pm #396738Upgrades will be done, we are talking a short term fix for those using local installs. It will almost certainly be only those using those same local installs that will be affected by this. Almost all hosts I know of do not use this version of mysql at present. You can edit the slq file as per below too. Many extensions are not yet compatible and have this same problem. Not even sure if Joomla 1.5.x has been updated yet. I know this problem was present even on the RC of Joomla 1.6 but I have not looked at recent version to check.
Open “joomla.sql” – from installation/sql/mysql
copy the this text: TYPE=MyISAM
with the “joomla.sql” file open got to EDIT- REPLACE and paste the text in to “FIND WHAT”
Then copy this CHARACTER SET `utf8`;” into REPLACE WITH
Hit REPLACE ALL – save the file – and your done.June 16, 2011 at 6:21 pm #396740There is no “TYPE=MyISAM CHARACTER SET `utf8`;” in my joomla.sql
only “TYPE=MyISAM”..tried to replace that but no luck…
judeur Friendjudeur
- Join date:
- June 2011
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
June 16, 2011 at 6:25 pm #396742So, replace TYPE=MyISAM with TYPE=MyISAM CHARACTER SET `utf8`, or replace TYPE=MyISAM with CHARACTER SET `utf8`?
June 16, 2011 at 6:51 pm #396752replace TYPE=MyISAM with CHARACTER SET `utf8`
🙂
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
June 16, 2011 at 7:02 pm #396754Sorry for the typo (edited).
I would still downgrade MySql personally. There are just too many extensions that you may have similar problems with. I
judeur Friendjudeur
- Join date:
- June 2011
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
June 16, 2011 at 7:06 pm #396756Here http://www.devraju.com/programming/joomla-1-5-22-installation-sql-problem-typemyisam-solution-enginemyisam/
possibly helpful instructions:
“So I just find and replaced all the occurrences of ‘TYPE=MyISAM’ to ‘ENGINE=MyISAM’ and tried to install Joomla then it worked like a charm.”
And here http://www.wampserver.com/phorum/read.php?2,70078
some similar instructions.
Didn’t try it yet.June 16, 2011 at 7:12 pm #396760Worked like a charm! 🙂
Big cudos!
-
AuthorPosts
This topic contains 22 replies, has 4 voices, and was last updated by judeur 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum