View Single Post
  #1 (permalink)  
Old 09-29-2007, 02:13 PM
edhrx edhrx is offline
Junior Member
 
Join Date: Sep 2007
Posts: 1
Default Mysql driver install

Just getting into the framework ...or trying to

Tried this

require_once 'Zend/Db.php';
$db = Zend_Db::factory('Pdo_Mysql', array(
'host' => '127.0.0.1',
'username' => 'webuser',
'password' => 'xxxxxxxx',
'dbname' => 'test'
));
$resources = $db->fetchAll( $db->select()->distinct()->from( 'test', array( 'id' ) ) );

and got this
Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The mysql driver is not currently installed'

I have seen a couple of threads on something but the responses were never definative.
I'm using the lastest versions of php , apachet etc


best wishes ed
Reply With Quote