|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: dshaposhnik at gmail dot com
New email:
PHP Version: OS:


 [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-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 15:01:29 2024 UTC