CodeIgniter Forums

Full Version: Cant connect to database
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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 ?

El Forum

[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

El Forum

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