From 8add3a5fde9f68f418e4af37ca1d2a03393d8cc9 Mon Sep 17 00:00:00 2001 From: Salamandar <6552989+Salamandar@users.noreply.github.com> Date: Tue, 23 Aug 2022 16:01:03 +0200 Subject: [PATCH] Fix database.php : use mysqli instead om mysql mysql is deprecated and it trigger this error: `Call to undefined function mysql_pconnect()` https://stackoverflow.com/questions/36822462/codeigniter-error-call-to-undefined-function-mysql-pconnect --- conf/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/database.php b/conf/database.php index 511797d..f09c285 100644 --- a/conf/database.php +++ b/conf/database.php @@ -4,7 +4,7 @@ $db['default']['hostname'] = 'localhost'; $db['default']['username'] = '__DB_USER__'; $db['default']['password'] = '__DB_PWD__'; $db['default']['database'] = '__DB_NAME__'; -$db['default']['dbdriver'] = 'mysql'; +$db['default']['dbdriver'] = 'mysqli'; $db['default']['dbprefix'] = ''; $db['default']['pconnect'] = TRUE; $db['default']['db_debug'] = TRUE;