CB
30 Jan 2009, 3:13am
I'm trying to install media wiki on my server, and I get this message during install:
MySQL 4.1/5.0 charset mode enabled, but older version detected; will likely fail.
then, two steps later, it fails out of the installation with this message:
CREATE TABLE `user` ( user_id int unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default '', user_real_name varchar(255) binary NOT NULL default '', user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_options blob NOT NULL, user_touched binary(14) NOT NULL default '', user_token binary(32) NOT NULL default '', user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) ENGINE=InnoDB, DEFAULT CHARSET=binary " failed with error code "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=binary' at line 20 (db1851.perfora.net)".Is this error caused by the charset mode? Anyone know what I can do about it.
Here's the entire dialog if it helps:
PHP 5.2.8 installed
Found database drivers for: MySQL SQLite
PHP server API is cgi; using ugly URLs (<tt>index.php5?title=Page_Title</tt>)
Have XML / Latin1-UTF-8 conversion support.
Session save path (<tt>/tmp</tt>) appears to be valid.
PHP's <tt>memory_limit</tt> is 40M.
Couldn't find Turck MMCache (http://turck-mmcache.sourceforge.net/), eAccelerator (http://eaccelerator.sourceforge.net/), APC (http://www.php.net/apc) or XCache (http://trac.lighttpd.net/xcache/); cannot use these for object caching.
Found GNU diff3: <tt>/usr/bin/diff3</tt>.
Found ImageMagick: <tt>/usr/bin/convert</tt>; image thumbnailing will be enabled if you enable uploads.
Found GD graphics library built-in.
Installation directory: <tt>/homepages/12/d208215605/htdocs/isles/wiki</tt>
Script URI path: <tt>/wiki</tt>
Installing MediaWiki with <tt>php5</tt> file extensions
Environment checked. You can install MediaWiki.
Notice: Undefined variable: wikiLang in /homepages/12/d208215605/htdocs/isles/wiki/config/index.php on line 1999
Generating configuration file...
Database type: MySQL
Loading class: DatabaseMysql
Attempting to connect to database server as dbo274114825...success.
Connected to 4.0.27-max-log; MySQL 4.1/5.0 charset mode enabled, but older version detected; will likely fail.
Database <tt>db274114825</tt> exists
Creating tables...Query "CREATE TABLE `user` ( user_id int unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default '', user_real_name varchar(255) binary NOT NULL default '', user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_options blob NOT NULL, user_touched binary(14) NOT NULL default '', user_token binary(32) NOT NULL default '', user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) ENGINE=InnoDB, DEFAULT CHARSET=binary " failed with error code "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=binary' at line 20 (db1851.perfora.net)".
MySQL 4.1/5.0 charset mode enabled, but older version detected; will likely fail.
then, two steps later, it fails out of the installation with this message:
CREATE TABLE `user` ( user_id int unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default '', user_real_name varchar(255) binary NOT NULL default '', user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_options blob NOT NULL, user_touched binary(14) NOT NULL default '', user_token binary(32) NOT NULL default '', user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) ENGINE=InnoDB, DEFAULT CHARSET=binary " failed with error code "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=binary' at line 20 (db1851.perfora.net)".Is this error caused by the charset mode? Anyone know what I can do about it.
Here's the entire dialog if it helps:
PHP 5.2.8 installed
Found database drivers for: MySQL SQLite
PHP server API is cgi; using ugly URLs (<tt>index.php5?title=Page_Title</tt>)
Have XML / Latin1-UTF-8 conversion support.
Session save path (<tt>/tmp</tt>) appears to be valid.
PHP's <tt>memory_limit</tt> is 40M.
Couldn't find Turck MMCache (http://turck-mmcache.sourceforge.net/), eAccelerator (http://eaccelerator.sourceforge.net/), APC (http://www.php.net/apc) or XCache (http://trac.lighttpd.net/xcache/); cannot use these for object caching.
Found GNU diff3: <tt>/usr/bin/diff3</tt>.
Found ImageMagick: <tt>/usr/bin/convert</tt>; image thumbnailing will be enabled if you enable uploads.
Found GD graphics library built-in.
Installation directory: <tt>/homepages/12/d208215605/htdocs/isles/wiki</tt>
Script URI path: <tt>/wiki</tt>
Installing MediaWiki with <tt>php5</tt> file extensions
Environment checked. You can install MediaWiki.
Notice: Undefined variable: wikiLang in /homepages/12/d208215605/htdocs/isles/wiki/config/index.php on line 1999
Generating configuration file...
Database type: MySQL
Loading class: DatabaseMysql
Attempting to connect to database server as dbo274114825...success.
Connected to 4.0.27-max-log; MySQL 4.1/5.0 charset mode enabled, but older version detected; will likely fail.
Database <tt>db274114825</tt> exists
Creating tables...Query "CREATE TABLE `user` ( user_id int unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default '', user_real_name varchar(255) binary NOT NULL default '', user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_options blob NOT NULL, user_touched binary(14) NOT NULL default '', user_token binary(32) NOT NULL default '', user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) ENGINE=InnoDB, DEFAULT CHARSET=binary " failed with error code "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=binary' at line 20 (db1851.perfora.net)".