ERROR - 2022-06-14 20:52:15 --> Error connecting to the database: No connection could be made because the target machine actively refused it
CRITICAL - 2022-06-14 20:52:15 --> Unable to connect to the database.
Main connection [MySQLi]: No connection could be made because the target machine actively refused it
#0 D:\xampp\htdocs\pw7\system\Database\BaseConnection.php(577): CodeIgniter\Database\BaseConnection->initialize()
#1 D:\xampp\htdocs\pw7\app\Models\Mdata.php(7): CodeIgniter\Database\BaseConnection->query('SELECT * FROM p...')
#2 D:\xampp\htdocs\pw7\app\Controllers\Basis.php(17): App\Models\Mdata->getPengarang()
#3 D:\xampp\htdocs\pw7\system\CodeIgniter.php(832): App\Controllers\Basis->data()
#4 D:\xampp\htdocs\pw7\system\CodeIgniter.php(419): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Basis))
#5 D:\xampp\htdocs\pw7\system\CodeIgniter.php(326): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#6 D:\xampp\htdocs\pw7\index.php(37): CodeIgniter\CodeIgniter->run()
#7 {main}
ERROR - 2022-06-14 20:53:20 --> Error connecting to the database: No connection could be made because the target machine actively refused it
CRITICAL - 2022-06-14 20:53:20 --> Unable to connect to the database.
Main connection [MySQLi]: No connection could be made because the target machine actively refused it
#0 D:\xampp\htdocs\pw7\system\Database\BaseConnection.php(577): CodeIgniter\Database\BaseConnection->initialize()
#1 D:\xampp\htdocs\pw7\app\Models\Mdata.php(7): CodeIgniter\Database\BaseConnection->query('SELECT * FROM p...')
#2 D:\xampp\htdocs\pw7\app\Controllers\Basis.php(17): App\Models\Mdata->getPengarang()
#3 D:\xampp\htdocs\pw7\system\CodeIgniter.php(832): App\Controllers\Basis->data()
#4 D:\xampp\htdocs\pw7\system\CodeIgniter.php(419): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Basis))
#5 D:\xampp\htdocs\pw7\system\CodeIgniter.php(326): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#6 D:\xampp\htdocs\pw7\index.php(37): CodeIgniter\CodeIgniter->run()
#7 {main}
