ERROR - 2025-05-26 16:46:06 --> Error connecting to the database: mysqli_sql_exception: No such file or directory in /home/motorbike/public_html/vendor/codeigniter4/framework/system/Database/MySQLi/Connection.php:184
Stack trace:
#0 /home/motorbike/public_html/vendor/codeigniter4/framework/system/Database/MySQLi/Connection.php(184): mysqli->real_connect()
#1 /home/motorbike/public_html/vendor/codeigniter4/framework/system/Database/BaseConnection.php(392): CodeIgniter\Database\MySQLi\Connection->connect()
#2 /home/motorbike/public_html/vendor/codeigniter4/framework/system/Database/BaseConnection.php(575): CodeIgniter\Database\BaseConnection->initialize()
#3 /home/motorbike/public_html/vendor/codeigniter4/framework/system/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query()
#4 /home/motorbike/public_html/app/Models/Groups.php(84): CodeIgniter\Database\BaseBuilder->get()
#5 /home/motorbike/public_html/app/Controllers/AdminController.php(25): App\Models\Groups->getUserGroupByUserId()
#6 /home/motorbike/public_html/app/Controllers/NotificationController.php(11): App\Controllers\AdminController->__construct()
#7 /home/motorbike/public_html/vendor/codeigniter4/framework/system/CodeIgniter.php(915): App\Controllers\NotificationController->__construct()
#8 /home/motorbike/public_html/vendor/codeigniter4/framework/system/CodeIgniter.php(494): CodeIgniter\CodeIgniter->createController()
#9 /home/motorbike/public_html/vendor/codeigniter4/framework/system/CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest()
#10 /home/motorbike/public_html/public/index.php(79): CodeIgniter\CodeIgniter->run()
#11 /home/motorbike/public_html/vendor/codeigniter4/framework/system/Commands/Server/rewrite.php(47): require_once('...')
#12 {main}

Next CodeIgniter\Database\Exceptions\DatabaseException: No such file or directory in /home/motorbike/public_html/vendor/codeigniter4/framework/system/Database/MySQLi/Connection.php:229
Stack trace:
#0 /home/motorbike/public_html/vendor/codeigniter4/framework/system/Database/BaseConnection.php(392): CodeIgniter\Database\MySQLi\Connection->connect()
#1 /home/motorbike/public_html/vendor/codeigniter4/framework/system/Database/BaseConnection.php(575): CodeIgniter\Database\BaseConnection->initialize()
#2 /home/motorbike/public_html/vendor/codeigniter4/framework/system/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query()
#3 /home/motorbike/public_html/app/Models/Groups.php(84): CodeIgniter\Database\BaseBuilder->get()
#4 /home/motorbike/public_html/app/Controllers/AdminController.php(25): App\Models\Groups->getUserGroupByUserId()
#5 /home/motorbike/public_html/app/Controllers/NotificationController.php(11): App\Controllers\AdminController->__construct()
#6 /home/motorbike/public_html/vendor/codeigniter4/framework/system/CodeIgniter.php(915): App\Controllers\NotificationController->__construct()
#7 /home/motorbike/public_html/vendor/codeigniter4/framework/system/CodeIgniter.php(494): CodeIgniter\CodeIgniter->createController()
#8 /home/motorbike/public_html/vendor/codeigniter4/framework/system/CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest()
#9 /home/motorbike/public_html/public/index.php(79): CodeIgniter\CodeIgniter->run()
#10 /home/motorbike/public_html/vendor/codeigniter4/framework/system/Commands/Server/rewrite.php(47): require_once('...')
#11 {main}
CRITICAL - 2025-05-26 16:46:06 --> CodeIgniter\Database\Exceptions\DatabaseException: Unable to connect to the database.
Main connection [MySQLi]: No such file or directory
in SYSTEMPATH/Database/BaseConnection.php on line 428.
 1 SYSTEMPATH/Database/BaseConnection.php(575): CodeIgniter\Database\BaseConnection->initialize()
 2 SYSTEMPATH/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query()
 3 APPPATH/Models/Groups.php(84): CodeIgniter\Database\BaseBuilder->get()
 4 APPPATH/Controllers/AdminController.php(25): App\Models\Groups->getUserGroupByUserId()
 5 APPPATH/Controllers/NotificationController.php(11): App\Controllers\AdminController->__construct()
 6 SYSTEMPATH/CodeIgniter.php(915): App\Controllers\NotificationController->__construct()
 7 SYSTEMPATH/CodeIgniter.php(494): CodeIgniter\CodeIgniter->createController()
 8 SYSTEMPATH/CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest()
 9 FCPATH/index.php(79): CodeIgniter\CodeIgniter->run()
10 SYSTEMPATH/Commands/Server/rewrite.php(47): require_once('/home/motorbike/public_html/public/index.php')
