Install problem with one.com

Hi all,

I too had problems installing Suitecrm on a one.com hosting.

This was the solution for me:
From the main suitecrm directory
Go to /include/database/MysqlManager.php

Go to line 1581:

public function dropDatabase($dbname)
{
    return true; // return $this->query("DROP DATABASE IF EXISTS `$dbname`", true);
}

en replace (or edit) with this: // return $this->query("DROP DATABASE IF EXISTS $dbname", true);

Then

line 1564 replace:
$this->query(“CREATE DATABASE $dbname CHARACTER SET $charset COLLATE $collation”, true);

with this:

$this->query(“CREATE DATABASE IF NOT EXISTS $dbname CHARACTER SET $charset COLLATE $collation”, true); // Added on 2020-04-22 by MW & CL

with kind regards,

Charles

1 Like

Hi Tao,
thanks for sharing - I guess there will be people looking for instructions like this!

Hi Diligent,

You are welcome!
I was busy to install a fresh install on a one.com hosting and searched for a solution for the install problem but did not find the right solution so I looked at it and came up with this with a friend of my.

With kind regards,

Charles