2011-07-21, 01:40 AM
I would like to know what file are they mentioning exactly. Doesn't help if their not stating it.
Installing MyBB on mySQL 4.0.x
To be able to install MyBB on mySQL 4.0.x, you need to make an alteration to a file first before running the installation script. This is a workaround, and not an alternative - mySQL 4.0 has already reached it's end of life so you really should upgrade as soon as possible.
In ./inc/db_mysql.php, delete/remove or comment out:
if($success && $this->db_encoding)
{
$this->query("SET NAMES '{$this->db_encoding}'");
if($write_success && count($this->connections) > 1)
{
$this->write_query("SET NAMES '{$this->db_encoding}'");
}
}
return $success;
and also:
return " CHARACTER SET {$this->db_encoding} COLLATE {$collation}";
This will allow you to install MyBB. If you have any problems, please report them at the Community Forums.
Note: These changes are not needed if your host has MySQL 5.0 or above.
Installing MyBB on mySQL 4.0.x
To be able to install MyBB on mySQL 4.0.x, you need to make an alteration to a file first before running the installation script. This is a workaround, and not an alternative - mySQL 4.0 has already reached it's end of life so you really should upgrade as soon as possible.
In ./inc/db_mysql.php, delete/remove or comment out:
if($success && $this->db_encoding)
{
$this->query("SET NAMES '{$this->db_encoding}'");
if($write_success && count($this->connections) > 1)
{
$this->write_query("SET NAMES '{$this->db_encoding}'");
}
}
return $success;
and also:
return " CHARACTER SET {$this->db_encoding} COLLATE {$collation}";
This will allow you to install MyBB. If you have any problems, please report them at the Community Forums.
Note: These changes are not needed if your host has MySQL 5.0 or above.