simpli Posted June 3, 2009 Share Posted June 3, 2009 Hi, I've been going quite an adventure trying to use Zend with mysql on a mac. I didn't have the driver so after much googling, I found a site that gave me the instructions on how to compile the driver. Everything seems ok. phpinfo shows that mysql is enabled for pdo but when I try to run my action that retrieves data from the database I have an epic crash with the following error: Message: SQLSTATE[HY000]: General error: 2036 I followed the instructions at this page to compile the pdo driver http://discussions.apple.com/thread.jspa?threadID=1539743 My settings: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7l DAV/2 PHP/5.2.8 PDO: 5.0.67 mysql: 5.0.67 I would be truly eternally grateful to whoever could help me find the source of this problem. I can't wait to stop configuring and start coding. pdo_mysql PDO Driver for MySQL, client library version 5.0.67 and PDO drivers sqlite2, sqlite, mysql and mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 5.0.67 MYSQL_MODULE_TYPE external MYSQL_SOCKET /var/mysql/mysql.sock MYSQL_INCLUDE -I/usr/include/mysql MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient Quote Link to comment https://forums.phpfreaks.com/topic/160844-solved-thorniest-issue-so-far-sqlstatehy000-general-error-2036/ Share on other sites More sharing options...
simpli Posted June 5, 2009 Author Share Posted June 5, 2009 Solved it by downloading Marc Liyanage's entropy. done configuring. Imma start coding. Quote Link to comment https://forums.phpfreaks.com/topic/160844-solved-thorniest-issue-so-far-sqlstatehy000-general-error-2036/#findComment-849656 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.