Quote:
Originally Posted by Ninjapaul
For all people having problems with installing the mod (SQL Errors), open up the xml file and search and replace:
TYPE=MyISAM
to
ENGINE=MyISAM
This has to do with MySQL compatibility, the newer MySQL versions DO NOT support TYPE= anymore.
@TheLastSuperman: Please include this in a future update
Thanks, good mod!
|
Done
Code:
// Check for TYPE or ENGINE based on version from what I read it was still in 5.1.45 fully but only partially there afterwords - TheLastSuperman
$mysql_version = $db->query_first("SELECT version() AS version");
define('MYSQL_VERSION', $mysql_version['version']);
$type_or_engine = (version_compare(MYSQL_VERSION, '5.1.45', '<')) ? 'TYPE' : 'ENGINE';
Code:
) $type_or_engine=MyISAM
");