Welcome Guest, Not a member yet? Register   Sign In
connection database on Bluehost
#4

Double check that correct DB credentials are picked up when you upload your code to server. Sometimes people use environment constant to switch between local and production configurations.

To check that CI does get the correct details, in the end of database.php config file, echo out what the $config for DB looks like.
Reply


Messages In This Thread
connection database on Bluehost - by abdel - 10-06-2018, 07:35 AM
RE: connection database on Bluehost - by php_rocs - 10-08-2018, 07:27 AM
RE: connection database on Bluehost - by wcrazi - 10-09-2018, 12:36 PM
RE: connection database on Bluehost - by Pertti - 10-10-2018, 12:18 AM
RE: connection database on Bluehost - by abdel - 10-10-2018, 03:26 AM
RE: connection database on Bluehost - by php_rocs - 10-10-2018, 07:06 AM
RE: connection database on Bluehost - by suchanon - 12-15-2018, 08:46 PM
RE: connection database on Bluehost - by php_rocs - 12-16-2018, 08:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB