CREATE TABLE `ust_UserType` (
`ust_ID` int(11) NOT NULL auto_increment,
`ust_Name` varchar(24) NOT NULL default '',
PRIMARY KEY (`ust_ID`),
UNIQUE KEY `ust_Name` (`ust_Name`)
) TYPE=InnoDB;
CREATE TABLE `usr_User` (
`usr_ID` int(11) NOT NULL auto_increment,
`usr_ust_ID` int(11) NOT NULL default '0',
…
KEY `usr_ust_ID` (`usr_ust_ID`),
FOREIGN KEY (`usr_ust_ID`) REFERENCES `ust_usertype` (`ust_ID`) // <==== problem on Linux!
) TYPE=InnoDB;