• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to select the specified database: test

#1
Dear All:
i am new in learning Codeigniter and i am in my second day in learning how to call database table contents to be displayed in a page, but for my sorry i always get this error, however; i give all privilleges to all users of local host, root, 127.0.0.1 
i tried many solutions as to change $db['default']['pconnect'] = TRUE; to false but it didn't work, so anyone can help?
Reply

#2
The database host should be localhost that's what MySQL usually uses.

Not sure how you have it setup on your end if you could post your database.php config file we would know more on how to help.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.