CodeIgniter Forums
Cant connect to database - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter Archived (from EllisLab) (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Cant connect to database (/thread-54393.html)



Cant connect to database - El Forum - 09-07-2012

[eluser]zelenkooo[/eluser]
Our app was working fine on local apache server, after uploading to web server, we have updated data about database name, user and pass in database config .
But we have a error

Code:
A Database Error Occurred

Unable to select the specified database: somedbname

Filename: core/Loader.php

Line Number: 346

There is database, there is user, and we use correct password. Is there something else that could be a problem ?


Cant connect to database - El Forum - 09-07-2012

[eluser]zelenkooo[/eluser]
if we set wrong user we get this error

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

Filename: core/Loader.php

Line Number: 346



Cant connect to database - El Forum - 09-07-2012

[eluser]zelenkooo[/eluser]
fixed, didnt add user to the db ....