|  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
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.
Bug Type:
From: ytanaka at ftri dot co dot jp
New email:
PHP Version: OS:


 [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-2019 The PHP Group
All rights reserved.
Last updated: Sun Sep 22 11:01:27 2019 UTC