[fw-general] Zend test with db adapter fails to connect

2010-02-11 Thread Ron Dyck
After reading various articles on TDD and Zend_Test I've decided to integrate them in my development cycle.. Things were quite successful until I required the db adapter. I'm able to access all my resources successfully but appears as though I cannot connect to the db. I created a zend test that

Re: [fw-general] Zend test with db adapter fails to connect

2010-02-11 Thread Hector Virgen
I ran into similar problems with PHPUnit on my Mac running Zend Server CE. My problem was that PHPUnit was using the wrong PHP bin. I edited the file /usr/local/bin/phpunit and changed the path to the php bin at the top to read: #!/usr/local/zend/bin/php I hope this helps. -- Hector On Thu,

Re: [fw-general] Zend test with db adapter fails to connect

2010-02-11 Thread Ron Dyck
On Thu, Feb 11, 2010 at 2:41 PM, Hector Virgen djvir...@gmail.com wrote: I ran into similar problems with PHPUnit on my Mac running Zend Server CE. My problem was that PHPUnit was using the wrong PHP bin. I edited the file /usr/local/bin/phpunit and changed the path to the php bin at the top

Re: [fw-general] Zend test with db adapter fails to connect

2010-02-11 Thread Ron Dyck
For anyone with a similar problem, Hectors suggestion was accurate: file /usr/local/bin/phpunit and changed the path to the php bin at the top to read: #!/usr/local/zend/bin/php I also ran into a couple other issues of my ENV var and using DYLD_LIBRARY_PATH not LD_LIBRARY_PATH and also some