Answer the question
In order to leave comments, you need to log in
Why is there no Mysql config in gearman ?
Tried to set up the tasks to be in the database (Mysql) and stumbled upon a problem:
no configuration to set up Mysql ./usr/sbin/gearmand --help
...
HTTP:
--http-port arg (=8080) Port to listen on.
libmemcached:
--libmemcached-servers arg List of Memcached servers to use.
libsqlite3:
--libsqlite3-db arg Database file to use.
--libsqlite3-table arg (=gearman_queue)
Table to use.
Answer the question
In order to leave comments, you need to log in
The client library probably needs to be put through the package manager.
And for puff, there is also www.drizzle.org/content/download
Perhaps you didn’t search well, on centos there is a file /etc/sysconfig/gearmand (in other OSes I don’t remember where it is located, you can peep the path to this file in the init script). A connection to the database is written there, here is an example of the config:
### Settings for gearmand
OPTIONS="--listen=127.0.0.1
--job-retries=3 \
--queue-type=MySQL \
--mysql-host=localhost \
--mysql-port=3306 \
--mysql-user=gearman \
--mysql-password=gearman_password \
--mysql-db=gearman \
--mysql-table=queue"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question