Bug #72041 [Opn]: Unknown type 18 sent by the server

From: Date: Thu, 10 Dec 2020 11:27:03 +0000
Subject: Bug #72041 [Opn]: Unknown type 18 sent by the server
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230989@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72041&edit=1 ID: 72041 Updated by: nikic@php.net Reported by: janne dot saukkio at gmail dot com Summary: Unknown type 18 sent by the server Status: Open Type: Bug Package: PDO MySQL Operating System: Debian 8 PHP Version: 5.6.20 Block user comment: N Private report: N New Comment: I can't reproduce this running in 7.3 against MySQL 8.0.22. There is also the similar report bug #72416, which claims this is a bug in the MySQL server: https://bugs.mysql.com/bug.php?id=82139 As I can't reproduce this, I would assume the server-side bug has been fixed (even though the report there wasn't closed). Previous Comments: ------------------------------------------------------------------------ [2016-04-17 10:24:47] janne dot saukkio at gmail dot com Description: ------------ Apache2 error_log: PHP Warning: PDO::prepare(): Unknown type 18 sent by the server. Please send a report to the developers ... on line 65 PHP Fatal error: Call to a member function execute() on boolean ... on line 66 My PHP version is 5.6.19-0+deb8u1 (Jessie doesn't have an update for PHP) My MySQL version is 5.7.11 Example SQL code works perfectly on MySQL console and doesn't create an error. Test script: --------------- http://pastebin.com/YkKN1HdX Create a PHP error by adding "?error=1" in the url ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=72041&edit=1

« previous php.bugs (#230989) next »