Fatal error: Uncaught exception

Hi Guys

Newbie here I have just installed SuiteCRM on a ubuntu machine using Mysql V5.5.49 using apache and PHP Version 5.5.9-1ubuntu4.17 and |I get the following error message Fatal error: Uncaught exception ‘Exception’ with message 'Database failure. When I istalled the system I checked the DB credentials were all OK the Db has been set up

The full text of the message is

Fatal error: Uncaught exception ‘Exception’ with message ‘Database failure. Please refer to suitecrm.log for details.’ in /var/www/SuiteCRM765/include/utils.php:1623 Stack trace: #0 /var/www/SuiteCRM765/include/database/DBManager.php(345): sugar_die(‘Database failur…’) #1 /var/www/SuiteCRM765/include/database/DBManager.php(321): DBManager->registerError(‘Unable to retri…’, ‘MySQL error 114…’, true) #2 /var/www/SuiteCRM765/include/database/MysqliManager.php(159): DBManager->checkError(‘Unable to retri…’, true) #3 /var/www/SuiteCRM765/modules/Administration/Administration.php(117): MysqliManager->query(‘SELECT category…’, true, ‘Unable to retri…’) #4 /var/www/SuiteCRM765/include/entryPoint.php(192): Administration->retrieveSettings() #5 /var/www/SuiteCRM765/index.php(47): require_once(’/var/www/SuiteC…’) #6 {main} thrown in /var/www/SuiteCRM765/include/utils.php on line 1623

How can I bets fix this problem I did have some permission issues when I first installed bu these seem to be OK now

BTW where is the suiteCRM log located I cannot find it

Thanks in advance

JimB