I'm having an issue with symfony and mysql setup on mac os x 10.5.8
When trying to access a newly created module, i get:
500 | Internal Server Error | Doctrine_Connection_Exception
Couldn't locate driver named mysql.
I had the same error message when trying to execute doctrine:insert-sql to create my database tables. I fixed this by downloading PDO_MYSQL and installing as per these instructions:
cd ~/Downloads/PDO_MYSQL-1.0.2/PDO_MYSQL-1.0.2
phpize
./configure '--with-pdo-mysql=shared,/usr/local/mysql'
make
sudo make install
I also added
extension_dir = "/usr/lib/php/extensions/no-debug-non-zts-20060613"
extension=pdo_mysql.so
to my php.ini file.
When i do a php -m I do have pdo_mysql and PDO installed. However when I check out a phpinfo(); file with my browser, under PDO drivers, I only have sqlite and sqlite2 enabled, not mysql.
I must be missing something here! Any help with this would be greatly appreciated.
Thanks in advance.