Welcome Guest, Not a member yet? Register   Sign In
CIUnit can't connect to database
#1

[eluser]felix_[/eluser]
I'm having some trouble setting up my CodeIgniter 2.1.1 installation with CIUnit. I already installed phpunit via PEAR and CIUnit via its install.sh script. The instrcutions I used can be found .here

"application/config/testing/database.php" was created and does contain the right values.

But when running "phpunit" inside my "tests" folder I just get "[CIUnit] Error: 500 Message: Unable to connect to your database server using the provided settings. Filename: core/Loader.php Line Number: 346"

What else can I check? When running the application in my browser the db connection just goes well. So the settings are correct for sure


Messages In This Thread
CIUnit can't connect to database - by El Forum - 01-21-2013, 08:03 AM
CIUnit can't connect to database - by El Forum - 01-22-2013, 12:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB