i asked them to update, but they can’t give me a time frame when it will happen. Is this a really bad mismatch of MySQL versions, or is there an easy workaround?
#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 COMMENT=’Contains data about active users.
Have you tried the export from MySQL 5 using the "SQL compatibility mode" feature set to 4?
I’ve done it a couple of times without problems.
--
-- Dumping data for table `modx_web_user_settings`
--
#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 ’--’ at line
-- phpMyAdmin SQL Dump -- version 3.1.3.1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jul 26, 2009 at 10:41 AM -- Server version: 5.1.33 -- PHP Version: 5.2.9 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `dbtest` -- -- -------------------------------------------------------- -- -- Table structure for table `modx_active_users` -- CREATE TABLE IF NOT EXISTS `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`) ) TYPE=MyISAM COMMENT='Contains data about active users.';
-- -- Table structure for table `modx_web_user_settings` -- CREATE TABLE IF NOT EXISTS `modx_web_user_settings` ( `webuser` int(11) NOT NULL, `setting_name` varchar(50) NOT NULL DEFAULT '', `setting_value` text, KEY `setting_name` (`setting_name`), KEY `webuserid` (`webuser`) ) TYPE=MyISAM COMMENT='Contains web user settings.';
ALTER DATABASE `mydbname` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
#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 ’DATABASE `mydbname` DEFAULT CHARACTER SET utf8 COLLATE utf8_gen