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 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.