php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57292 LOCK TABLES -> 'SQLSTATE[HY000]: General error: 2030'
Submitted: 2006-10-12 11:05 UTC Modified: 2008-05-08 11:01 UTC
From: fog at gmx dot de Assigned:
Status: Not a bug Package: PDO_MYSQL (PECL)
PHP Version: 5.1.4 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fog at gmx dot de
New email:
PHP Version: OS:

 

 [2006-10-12 11:05 UTC] fog at gmx dot de
Description:
------------
The use of LOCK TABLES tablename WRITE causes an error on Linux servers while it runs perfect on windows machines. A PHP Script using LOCK TABLES would fail under Linux if used with PDO.

On the Linux Server the pdo_mysql Version is:
PDO Driver for MySQL, client library version 5.0.18 




Actual result:
--------------
Error Message without stack trace:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2030 This command is not supported in the prepared statement protocol yet' in /home/gforge/printserver.gforge.iklk.de/visitenkarten-docs/lib/CB_NestedSet.class.php:665 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-08 11:01 UTC] johannes at schlueters dot de
No PDO_mysql issue, emulation is used by default.
 [2011-09-09 19:09 UTC] aa at ff dot com
shit
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 16:01:31 2024 UTC