CIUnit can't connect to database |
[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
[eluser]felix_[/eluser]
Ok after some digging in the source I found out that the problem was related to OSX and MySQL. I've described the problem in a blog post including a solution. http://felix.sub-reality.org/blog/2013/0...t-on-os-x/ |
Welcome Guest, Not a member yet? Register Sign In |