Bug #70375 [NEW]: Bug when using PDO and mysqlnd_ms
| From: | ytanaka at ftri dot co dot jp | Date: | Fri, 28 Aug 2015 03:20:09 +0000 |
| Subject: | Bug #70375 [NEW]: Bug when using PDO and mysqlnd_ms | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-195579@lists.php.net to get a copy of this message | ||
From: ytanaka at ftri dot co dot jp
Operating system: Linux
PHP version: 5.4.44
Package: *General Issues
Bug Type: Bug
Bug description:Bug when using PDO and mysqlnd_ms
Description:
------------
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.
mysqlnd_ms.json
{
"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" }
}
}
}
--
Edit bug report at https://bugs.php.net/bug.php?id=70375&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70375&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70375&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70375&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70375&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70375&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70375&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70375&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70375&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70375&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70375&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70375&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70375&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70375&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70375&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70375&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70375&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70375&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70375&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70375&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70375&r=mysqlcfg