artefactual-labs / docker-gearmand

Docker image of gearmand based on Alpine Linux.
https://hub.docker.com/r/artefactual/gearmand/
Apache License 2.0
19 stars 13 forks source link

QUEUE_ERROR:QUEUE_ERROR -> libgearman/client.cc:1603 #12

Closed bilua-xiaolei closed 10 months ago

bilua-xiaolei commented 1 year ago

I got this error from my application and checking gearmand logs (on debug mode), I found this error:

mysql_stmt_execute failed: Unknown prepared statement handler (1)

Looks like if you use the mysql driver, is needed the uuid package (libuuid in alpine)

As I'm not sure if this repository is maintained any more, if you get this error, just create your own Dockerfile and add these thre lines:

USER root
RUN apk add libuuid
USER gearman

source: https://ma.ttias.be/gearman-queue-error-mysql_stmt_execute-failed-unknown-prepared-statement-handler-1/

sevein commented 1 year ago

Thank you! If you are interested, please submit a pull request.