CodeIgniter configuration

Status
Not open for further replies.

daywatcher

New Member
Messages
4
Reaction score
0
Points
0
Hello All.

I've tried to put my project online.

But I have a problem when launching the app.

My database.php file looks like this :

$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'daywatch_olive';
$db['default']['password'] = '***';
$db['default']['database'] = 'daywatch_eglise';
$db['default']['dbdriver'] = 'mysql';

& when launching the app, CI replies :
A Database Error Occurred

Unable to select the specified database : daywatch_eglise
Filename: core/Loader.php
Line Number: 242


I'm almost sure I did NO error when I created DataBase ...

Did I forget something ?

here's a printscreen of mysql database & user configuration :

cp.png



Any help will be welcome.

Thanks in advance...
 
Last edited by a moderator:

daywatcher

New Member
Messages
4
Reaction score
0
Points
0
daywatcher said:
I'm almost sure I did NO error when I created DataBase ...

I was wrong....:mad:

I forgot to click the "add" button in "add user to Database" part of the control panel.
I feel a little stupid ...

It works much better now !!!!:wink:

Thanks to all who wasted thier time reading my first post ...

EDIT : How do I close this topic, please ?
 
Last edited:
Status
Not open for further replies.
Top