如标题中所述,尝试使用 pypi 中的最新 mariadb 以及 github 中的最新软件包(https://github.com/mariadb-corporation/mariadb-connector-python)
查询在限制为 10 的脚本中运行良好,在该数字之后,当我运行 curr.execute() 时,它开始挂起。
在 phpmyadmin 中运行时,即使限制为 1000,查询(如下)也会以毫秒为单位运行。
我的 mariadb.connect 参数中的 connect_timeout 时间是 30。
SELECT terms.term_id, terms.name, tax.taxonomy
FROM wp_terms AS terms
INNER JOIN wp_term_taxonomy AS tax
ON terms.term_id = tax.term_id
LIMIT 1000;
是否有一些我找不到的超时配置?
我也遇到同样的问题了,有更新吗?