Fatal Error on install

I’ve been trying to install SuiteCRM for about 2 weeks. :S
I think things are configured on my server (i’m using CentOS) per your installation guide.
When it finally starts to install I get this message;


Creating SuiteCRM configuration file (config.php)

[color=#880044]Creating SuiteCRM application tables, audit tables and relationship metadata
Creating the database crmdb on www.mysite.ca…
Fatal error: Uncaught exception ‘Exception’ in /home/crm/public_html/suitecrm/include/utils.php:1623 Stack trace: #0 /home/crm/public_html/suitecrm/include/database/MysqlManager.php(516): sugar_die(NULL) #1 /home/crm/public_html/suitecrm/include/database/DBManagerFactory.php(147): MysqlManager->connect(Array, true) #2 /home/crm/public_html/suitecrm/include/utils.php(3168): DBManagerFactory::getInstance() #3 /home/crm/public_html/suitecrm/include/utils.php(1620): sugar_cleanup() #4 /home/crm/public_html/suitecrm/include/database/DBManager.php(347): sugar_die(‘Database error…’) #5 /home/crm/public_html/suitecrm/include/database/DBManager.php(321): DBManager->registerError(’ Query Failed:C…’, ‘MySQL error 104…’, true) #6 /home/crm/public_html/suitecrm/include/database/MysqlManager.php(191): DBManager->checkError(’ Query Failed:C…’, true) #7 /home/crm/public_html/suitecrm/include/database/MysqlManager.php(1406): MysqlManager->query(‘CREATE DATABASE…’, true) #8 /home/crm/public_html/suitecrm/inst in /home/crm/public_html/suitecrm/include/utils.php on line 1623[/color]

[color=#000000]Does anyone have any idea what to do about this?[/color]

did you follow this guide? https://suitecrm.com/wiki/index.php/Installation

best regards

Thanks mikebeck

Yes, that’s the guide I have certainly tired to follow. But it’s pretty vague if your not a Linux guru;

  • Set ownership of the SuiteCRM directory:
  • chgrp ApacheUser.ApacheGroup -R recursively sets ownership for root directory to Apache user and group.

My host tells me that my apache 5 user is ‘nobody’. So I’ve tried.

chgrp nobody.nobody /public_html/suitecrm -R
and
chgrp nobody.wheel /public_html/suitecrm -R

But all that does is lock me out. If I try to go to mysite.com/suitecrm, it give me a 404 error. And I can’t even delete the folder to try again with my FTP program unless I do;
chgrp bob.bob /public_html/suitecrm -R
Bob being my root user account. That will launch the install.php file, but this is when I get the error I mentioned in my first post.

  • Set the following permissions on the SuiteCRM directory(Linux):
  • sudo chown -R www-data:www-data .
  • sudo chmod -R 755 .
  • sudo chmod -R 775 cache custom modules themes data upload config_override.php

If I enter sudo chown -R www-data:www-data .
linux tells me there is no such user as www-data

If I substitute either nobody, or bob, it takes it, but I still get that error when I go to the installer.

I am sure the errors I am getting on install are related to these permissions, but nobody seems to be able to tell me what commands to type in to get these permissions to work.

I have root access on my server with user BOB, and my apache 5 user is apparently nobody according to my host.
My install directory is: public_html/suitecrm

What I really need to know is;

chgrp WhatGoesHere.WhatGoesHere WhatGoesHere -R

sudo chown -R WhatGoesHere:WhatGoesHere

and possibly, what directory I need to be in when I execute them.