CREATE TABLE `g2_AccessMap` ( `g_accessListId` int( 11 ) NOT NULL , `g_userOrGroupId` int( 11 ) NOT NULL , `g_permission` int( 11 ) NOT NULL , PRIMARY KEY ( `g_accessListId` , `g_userOrGroupId` ) , KEY `g2_AccessMap_83732` ( `g_accessListId` ) , KEY `g2_AccessMap_48775` ( `g_userOrGroupId` ) , KEY `g2_AccessMap_18058` ( `g_permission` ) ) ENGINE = InnoDB DEFAULT CHARSET = utf8 MySQL said: Documentation #1064 - 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 'DEFAULT CHARSET=utf8' at line 9