Welcome Guest, Not a member yet? Register   Sign In
A Database Error Occurred
#1

"Unable to connect to your database server using the provided settings. Filename: C:\xampp\htdocs\smart\system\database\DB_driver.php"
I cloned from the SSH Server and the total database is 556mb and I want to import the files into the local database, I don't know whether everything has been moved because several times I had to resend it due to max_execution_time.

PHP Code:
// database.php
$db['default']['hostname'] = 'ip_address';
$db['default']['username'] = 'username_from_ssh';
$db['default']['password'] = 'password_from_ssh';
// $db['default']['port'] = port_from_ssh;
$db['default']['database'] = 'db_smart';
$db['default']['dbdriver'] = 'mysqli';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE
Reply




Theme © iAndrew 2016 - Forum software by © MyBB