Welcome Guest, Not a member yet? Register   Sign In
Unable to connect to your database
#1

[eluser]OregonGold[/eluser]
EDIT:

i just tried something from another post and im getting

Not connected : Access denied for user 'SYSTEM'@localhost (using password: NO)


system?







Hi, just curious if there im missing something here,

Im using wamp on my pc while i learn CI, I just got to the database part and I cant seem to connect.

im getting this error:

A Database Error Occurred

Unable to connect to your database server using the provided settings.

Code:
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "root";
$db['default']['password'] = "";
$db['default']['database'] = "mytest";
$db['default']['dbdriver'] = "mysql";
$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";


autoload.php
Code:
$autoload['libraries'] = array('database');

i noticed there is no Database.php file in th elibraries directory, should there be?


Messages In This Thread
Unable to connect to your database - by El Forum - 01-15-2010, 07:24 PM
Unable to connect to your database - by El Forum - 01-16-2010, 02:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB