|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57326 Bug with MySQL4.0
Submitted: 2006-10-27 12:54 UTC Modified: 2011-05-26 08:33 UTC
From: dshaposhnik at gmail dot com Assigned:
Status: Closed Package: PDO_MYSQL (PECL)
PHP Version: 5.0.4 OS: FreeBSD4.9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
36 - 14 = ?
Subscribe to this entry?

 [2006-10-27 12:54 UTC] dshaposhnik at gmail dot com
I've tried to make PDO_MYSQL but compilation was failed on line 478 of mysql_driver.c cause constant (or whatever it is) MYSQL_OPT_LOCAL_INFILE is undefined. For example, string MYSQL_OPT_CONNECT_TIMEOUT was found in /usr/local/include/mysql, but MYSQL_OPT_LOCAL_INFILE is not declared.
I've commented if(){} in mysql_driver.c on line 478 and compilation was success.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-26 08:19 UTC] johannes at schlueters dot de
MySQL 4.0 - meanwhile - is old, I think this was fixed once ... in PHP 5.4 PDO_mysql will require MySQL 4.1 though. (which is out of support at oracle already ...)
 [2011-05-26 08:33 UTC] dshaposhnik at gmail dot com
Closing this one - it lost relevance years ago.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Mar 22 22:03:41 2023 UTC