gpt4 book ai didi

mysql - Gearman 与 libmysql

转载 作者:行者123 更新时间:2023-11-29 21:53:21 25 4
gpt4 key购买 nike

我用 libmysql 构建了 gearman。

 * CPP Flags:                  -fvisibility=hidden
* LIBS:
* LDFLAGS Flags:
* Assertions enabled: no
* Debug enabled: no
* Warnings as failure: no
* Building with libsqlite3 no
* Building with libdrizzle yes
* Building with libmemcached yes
* Building with libpq no
* Building with tokyocabinet no
* Building with libmysql yes

在我的 gearmand.conf 文件中,我引用其他文档添加了以下内容:

PARAMS="--queue-type=mysql \
--mysql-host=localhost \
--mysql-port=3306 \
--mysql-user=root \
--mysql-db=deliver \
--mysql-table=gearman"

我可以使用 root 连接到本地 mysql,并且有一个名为“deliver”的数据库。当我运行 gearmand 服务器并添加新的作业和工作人员时,我没有看到创建的表“gearman”。

这些进程似乎运行得很好。我尝试过记录和检查 gearmand.log 文件的详细模式,但没有任何与 mysql 相关的内容。我应该看哪里?

最佳答案

尝试为mysql创建一个用户“gearman”并授予交付数据库的权限。并重新启动 gearmand 和 mysql 的所有内容

关于mysql - Gearman 与 libmysql,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33408346/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com