Zend Framework - PDO_MYSQL adapter not installed??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Zend Framework - PDO_MYSQL adapter not installed??

Post by Luke »

I got this error while trying to use Zend_Db_Table with PDO_MYSQL adapter:
Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The mysql driver is not currently installed' in /vservers/upstatec/htdocs/dev/library/Zend/Db/Adapter/Pdo/Abstract.php:80
What could be causing this error? I looked in the adapter folder under pdo and mysql is there... what else can I do?
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

It's due to the PDO Adapter for mysql not being installed on the server. I guess I need to do some research on PDO because I don't even know what it is. (post resources if you're feeling generous)
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

yea found that one already :D Thanks though!
Post Reply