Description of my issue:
When cron job tries to run the backup i get email below. Why is there no connection astablished to my database? How can i resolve this?
Starting a new backup with the following parameters:
Profile ID 1
Description "Command-line backup"
Current memory usage: 983.39 Kb
Unsetting time limit restrictions.
Site paths determined by this script:
JPATH_BASE : /html
JPATH_ADMINISTRATOR : /html/administrator
********** ERROR! **********
Could not connect to MySQL
Technical information:
Code: 2
File: /html/administrator/components/com_akeeba/BackupEngine/Driver/Mysqli.php
Line: 288
Stack Trace:
#0 /html/administrator/components/com_akeeba/BackupEngine/Driver/Base.php(1049): Akeeba\Engine\Driver\Mysqli->query()
#1 /html/administrator/components/com_akeeba/BackupEngine/Driver/Base.php(742): Akeeba\Engine\Driver\Base->execute()
#2 /html/administrator/components/com_akeeba/BackupPlatform/Joomla3x/Driver/Joomla.php(126): Akeeba\Engine\Driver\Base->loadAssocList()
#3 /html/administrator/components/com_akeeba/BackupEngine/Platform/Base.php(583): Akeeba\Engine\Driver\Joomla->__call('loadAssocList', Array)
#4 /html/administrator/components/com_akeeba/BackupEngine/Platform/Base.php(583): Akeeba\Engine\Driver\Joomla->loadAssocList()
#5 /html/administrator/components/com_akeeba/BackupEngine/Platform.php(272): Akeeba\Engine\Platform\Base->get_running_backups(NULL)
#6 /html/administrator/components/com_akeeba/BackupEngine/Factory.php(436): Akeeba\Engine\Platform->__call('get_running_bac...', Array)
#7 /html/administrator/components/com_akeeba/BackupEngine/Factory.php(436): Akeeba\Engine\Platform->get_running_backups(NULL)
#8 /html/administrator/components/com_akeeba/Model/Backup.php(122): Akeeba\Engine\Factory::resetState(Array)
#9 /html/cli/akeeba-backup.php(236): Akeeba\Backup\Admin\Model\Backup->startBackup(Array)
#10 /html/cli/akeeba-backup.php(324): AkeebaBackupCLI->execute()
#11
Thank you very much for your help.