Hiya,
I’m having some issues importing Modxcms sql data to SQL version 4.0.27.
The site was developed on SQl 4.1.20 and needs to be set up at 1&1 hosting which run this older version.
Phpmyadmin reports errors with the first sql statement:
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=latin1 COMMENT=’Contains data about active user
CREATE TABLE `modx_active_users` (
`internalKey` int( 9 ) NOT NULL default '0',
`username` varchar( 50 ) NOT NULL default '',
`lasthit` int( 20 ) NOT NULL default '0',
`id` int( 10 ) default NULL ,
`action` varchar( 10 ) NOT NULL default '',
`ip` varchar( 20 ) NOT NULL default '',
PRIMARY KEY ( `internalKey` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 COMMENT = 'Contains data about active users.'
Any ideas on how I can amend the syntax to be compatible?
Thanks.