Closed Thread
Results 1 to 3 of 3
Like Tree2Likes
  • 2 Post By daywatcher

Thread: CodeIgniter configuration

  1. #1
    daywatcher is offline x10Hosting Member daywatcher is an unknown quantity at this point
    Join Date
    Feb 2010
    Location
    France
    Posts
    4

    CodeIgniter configuration

    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 :




    Any help will be welcome.

    Thanks in advance...
    Last edited by vishal; 03-05-2011 at 01:16 AM. Reason: Password Removed
    dinomirt96 and karimirt47 like this.

  2. #2
    daywatcher is offline x10Hosting Member daywatcher is an unknown quantity at this point
    Join Date
    Feb 2010
    Location
    France
    Posts
    4

    Re: CodeIgniter configuration

    Quote Originally Posted by daywatcher
    I'm almost sure I did NO error when I created DataBase ...
    I was wrong....

    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 !!!!

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

    EDIT : How do I close this topic, please ?
    Last edited by daywatcher; 03-05-2011 at 01:04 AM. Reason: How do I close this topic, please ?

  3. #3
    vishal's Avatar
    vishal is offline -::-X10 Guru-::- vishal has a brilliant futurevishal has a brilliant future
    Join Date
    Nov 2009
    Location
    INDIA
    Posts
    5,254

    Re: CodeIgniter configuration

    Thread Closed
    Regards ~ Vishal
    Giving Reputation (at bottom of my post ) is the best way to encourage the person who helped you on forums.

Closed Thread

Similar Threads

  1. PHP CodeIgniter Help
    By purplesmurf in forum Programming Help
    Replies: 0
    Last Post: 01-07-2011, 04:45 PM
  2. Codeigniter
    By ganjasensation0098 in forum Tutorials
    Replies: 2
    Last Post: 11-06-2010, 11:25 AM
  3. Codeigniter
    By jtwhite in forum Programming Help
    Replies: 2
    Last Post: 10-04-2009, 08:50 PM
  4. [PHP] CodeIgniter Help
    By Shadow121 in forum Programming Help
    Replies: 4
    Last Post: 03-22-2009, 07:20 AM
  5. what is ur pc configuration...
    By allinone in forum Computers & Technology
    Replies: 14
    Last Post: 08-13-2008, 08:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers