How to handle MySQL connection(s) with Python multithreading

前端 未结 3 1500
暖寄归人
暖寄归人 2021-02-14 10:56

I have a main Python script which connects to a MySQL database and pulls out few records from it. Based on the result returned it starts as many threads (class instances) as man

3条回答
  •  无人及你
    2021-02-14 11:19

    It seems there's no problem with my code but with my MySQL version. I'm using MySQL standard community edition and based on the official documentation found here :

    The thread pool plugin is a commercial feature. It is not included in MySQL community distributions.

    I'm about to upgrade to MariaDB to solve this issue.

提交回复
热议问题