...
[openxs@centos Percona-Server-5.6.10-alpha60.2-324.Linux.x86_64]$ bin/mysqlbinlog data/centos-bin.000003 | bin/mysql --no-defaults --socket=/tmp/vk56.sock -uroot test
ERROR 1064 (42000) at line 37: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"
/*!*/;
# at 1120
#130517 11:00:49 server id 1 end_log_pos 1151 CRC32 0xb99858' at line 1
[openxs@centos Percona-Server-5.6.10-alpha60.2-324.Linux.x86_64]$ bin/mysql --no-defaults --socket=/tmp/vk56.sock -uroot test Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.6.10-alpha60.2-log Percona Server with XtraDB (GPL), Release alpha60.2,б═Revisionб═324
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show tables;
+-----------------+
| Tables_in_test |
+-----------------+
| t1 |
| t_sql_injection |
+-----------------+
2 rows in set (0.00 sec)
PS 5.6.10 is also affected:
... Server- 5.6.10- alpha60. 2-324.Linux. x86_64] $ bin/mysqlbinlog data/centos- bin.000003 | bin/mysql --no-defaults --socket= /tmp/vk56. sock -uroot test Server- 5.6.10- alpha60. 2-324.Linux. x86_64] $ bin/mysql --no-defaults --socket= /tmp/vk56. sock -uroot test Reading table information for completion of table and column names
[openxs@centos Percona-
ERROR 1064 (42000) at line 37: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"
/*!*/;
# at 1120
#130517 11:00:49 server id 1 end_log_pos 1151 CRC32 0xb99858' at line 1
[openxs@centos Percona-
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g. alpha60. 2-log Percona Server with XtraDB (GPL), Release alpha60. 2,б═Revisionб═ 324
Your MySQL connection id is 6
Server version: 5.6.10-
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show tables;
+-----------------+
| Tables_in_test |
+-----------------+
| t1 |
| t_sql_injection |
+-----------------+
2 rows in set (0.00 sec)