[MXS-56] MySQL insert binary blob don't works Created: 2015-03-26 Updated: 2016-02-04 Resolved: 2016-02-04 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 1.0.5 |
| Fix Version/s: | 1.2.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | André Bauer | Assignee: | Massimiliano Pinto (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Ubuntu 14.04 |
||
| Description |
|
We're using OTRS 4.0.6 ( www.otrs.org ) as ticketsystem. OTRS log says: '@'192.168.10.50' (using password: YES), SQL: ' You can try with this file: http://download.wsusoffline.net/wsusoffline951.zip When i change the Config.pm of OTRS to use the Mysql server directly (without maxscale as loadbalancer) it works. Unfortunately there are no other log entrys available. Neither maxscale or mysql. Seems to me this could be some escaping problem of the binatry part of the sql query? |
| Comments |
| Comment by Massimiliano Pinto (Inactive) [ 2015-03-30 ] | ||||||||||||||||
|
Hi, it's possible to share the table description? At least for the blob column. Even MaxScale.cfg would be very useful. A first test with read connection router and a blob column updated by a PHP script was fine: CREATE TABLE `picture` ( First I uploaded a JPG, then the zip file mentioned above: MariaDB [test]> select id, OCTET_LENGTH(image) from picture;
---
--- In my test case BLOB is limited to 65535, the zip file it's about 2.2 MBytes. It would be worth having more informations from you. | ||||||||||||||||
| Comment by André Bauer [ 2015-03-31 ] | ||||||||||||||||
|
This is the table OTRS uses:
Imho you could test easily by installing OTRS. | ||||||||||||||||
| Comment by André Bauer [ 2015-04-10 ] | ||||||||||||||||
|
Problem still exists in Maxscale 1.1 | ||||||||||||||||
| Comment by markus makela [ 2016-02-04 ] | ||||||||||||||||
|
monotekCan you try this with the 1.3.0-beta version of MaxScale? The packages can be found here: http://maxscale-jenkins.mariadb.com/ci-repository/1.3.0-beta-release1/mariadb-maxscale/ | ||||||||||||||||
| Comment by André Bauer [ 2016-02-04 ] | ||||||||||||||||
|
Can't test the Beta in production. | ||||||||||||||||
| Comment by markus makela [ 2016-02-04 ] | ||||||||||||||||
|
That's good to hear. I'll close this and if it happens again, please open this bug or create a new one. | ||||||||||||||||
| Comment by markus makela [ 2016-02-04 ] | ||||||||||||||||
|
Closing this as fixed in 1.2.1. |