place new Zend_Config as 2nd parameter.

      $db = Zend_Db::factory('PDO_MYSQL', new Zend_Config(array(
                          'host'=>'localhost',
                          'username'=>'root',
                          'password'=>'', 
                          'dbname'=>'mydbname'))
                 );

       Zend_Db_Table::setDefaultAdapter($db); 



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/No-adapter-found-for-Zend-Db-Table-Error-tp4658934p4658960.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to