|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70375 Bug when using PDO and mysqlnd_ms
Submitted: 2015-08-28 03:20 UTC Modified: -
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: ytanaka at ftri dot co dot jp Assigned:
Status: Open Package: *General Issues
PHP Version: 5.4.44 OS: Linux
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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
43 - 34 = ?
Subscribe to this entry?

 [2015-08-28 03:20 UTC] ytanaka at ftri dot co dot jp
I am using PDO and mysqlnd_ms.
My DB is Mariadb Galera Cluster.

My sql query:
 LOAD DATA LOW_PRIORITY local INFILE 'xxxxxxxxx' ...

I have 3 cluster nodes. (mgnode1, mgnode2, mgnode3)

When the node mgnode1 is used , it is OK.
When the node mgnode2 and mgnode3 is used , it is not OK.

Then I changed the position of mgnode1 and mgnode2 in my mysqlnd_ms.json,
mgnode2 became OK and mgnode1 became NG.

So I think it is a bug.

  "mariadb_cluster_1": {
    "master": {
      "master_1": {
        "host": "mgnode1",
        "port": "3306"
      "master_2": {
        "host": "mgnode2",
        "port": "3306"
      "master_3": {
        "host": "mgnode3",
        "port": "3306"
    "slave": {
    "filters": {
      "user": { "callback": "func_pickserver" }


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu May 28 13:01:29 2020 UTC