Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-08-2008, 04:14 PM
Junior Member
 
Join Date: May 2008
Posts: 4
Default ZF under OS X leopard

hi i'm tring the same example under MAMP and under the site folder of OS X

and if under MAMP does it work under sites i get this error

Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The mysql driver is not currently installed' in ...


is it possible to run mysql connection under sites?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-08-2008, 05:20 PM
Member
 
Join Date: Mar 2007
Posts: 34
Default

Hi,
I don't dont MAMP and OS X, but you should configure your php.ini file, to load mysql extension.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-09-2008, 03:24 PM
Junior Member
 
Join Date: May 2008
Posts: 4
Default

it is already enabled, with PHPMyAdmin i can connect to that MySQL db but when the test site tries it can't and i get that error
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-09-2008, 04:22 PM
Member
 
Join Date: Mar 2007
Posts: 34
Default

which extension does phpmyadmin use? it is probably pdo_mysql, so you have to set pod_mysql as your db adapter in you zf app
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:22 PM.