Fatal Error

Hi all,

Am new to SuiteCRM, apache, etc.

Am hoping someone is able to give me some guidance on this. (message below)

Recieved an error message in final stage of install. Any thoughts?

Thank you in advance for your help and time.

Ron

Fatal error: Uncaught Exception: Could not connect to the database. Please refer to suitecrm.log for details (2). in C:\xampp\htdocs\HoodleCRM\include\utils.php:1773 Stack trace: #0 C:\xampp\htdocs\HoodleCRM\include\database\MysqliManager.php(312): sugar_die(‘Could not conne…’) #1 C:\xampp\htdocs\HoodleCRM\include\database\DBManagerFactory.php(147): MysqliManager->connect(Array, true) #2 C:\xampp\htdocs\HoodleCRM\include\utils.php(3333): DBManagerFactory::getInstance() #3 [internal function]: sugar_cleanup() #4 {main} thrown in C:\xampp\htdocs\HoodleCRM\include\utils.php on line 1773

“At the final stage”: where exactly is this?

I’m guessing you’re just after the screen where you give your Database credentials, and nothing happened on the database yet. But if I’m wrong, and you saw messages saying “Creating tables”, please tell me.

You probably just need to get your database credentials right.

Host address should be “localhost”
Username will be some XAMPP default like “admin”, or whatever you created when installing XAMPP
Password is obvious

You can check install.log for more errors and messages.

1 Like

Correct. It was just after the credentials/ setup page that the install locked up.

Am not certain how to get access to the credentials page again, to fix it.

Is there a link? What am I missing?

Thanks very much for your help.

Ron

You just try the installation again by navigating to the page “install.php” on your server, like you did the first time.

1 Like

Excellent. Thank you.