Welcome Guest, Not a member yet? Register   Sign In
Need help, odd error in database connection
#1

[eluser]Unknown[/eluser]
Whenever i connect to ignite via localhost/ignite. It says "Unable to Connect to your Database Server using the provided settings" the error points out to line 124 of DB_Driver.php

Here is my database.php:

$active_group = 'default';
$active_record = TRUE;

$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = 'root';
$db['default']['database'] = 'codeig';
$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;


Solutions I tried:

a.) Made pcconnect = false

b.) changed dbdriver from 'mysql' to 'mysqli'

Please help. Tnx!


(NOTE: please dont redirect me to the user guide. I DID follow the instructions there. Thank you so much !)
#2

[eluser]InsiteFX[/eluser]
I would check your username and password they should be the same that you log into
phpMyAdmin with.

InsiteFX
#3

[eluser]Unknown[/eluser]
That's strange. . . I don't remember phpMyAdmin prompting me to input any username or password. But just for the sake of fixing this, can u tell me how to determine the preset username and password ? Thank You for your help!
#4

[eluser]walletwallet[/eluser]
hardly underatand,
#5

[eluser]danmontgomery[/eluser]
the default is root with no password.




Theme © iAndrew 2016 - Forum software by © MyBB