Today I've installed TYPO3 4.4.2 on my machine. I've got many TYPO3 within this environment. They are all setup up as symlink installations. I've recognized a strange behaviour today. I've tried to create all database tables. But there is a problem with the table sys_registry. It couldn't be created. The following SQL throws an error:
CREATE TABLE sys_registry ( uid int(11) unsigned NOT NULL auto_increment, entry_namespace varchar(128) NOT NULL default '', entry_key varchar(128) NOT NULL default '', entry_value blob, PRIMARY KEY (uid), UNIQUE entry_identifier (entry_namespace,entry_key) );
Error: 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 'UNIQUE (Array) )' at line 7
So I've exported the structure of this table from another 4.4 installation:
CREATE TABLE `sys_registry` (
`uid` int(11) unsigned NOT NULL AUTO_INCREMENT,
`entry_namespace` varchar(128) NOT NULL DEFAULT '',
`entry_key` varchar(128) NOT NULL DEFAULT '',
`entry_value` blob,
PRIMARY KEY (`uid`),
UNIQUE KEY `entry_identifier` (`entry_namespace`,`entry_key`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
That one is working on my machine (PHP 5, MySQL 5.1.45).
Can someone confirm this behaviour?