Jump to content

[SOLVED] Thorniest issue so far SQLSTATE[HY000]: General error: 2036


simpli

Recommended Posts

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 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.