Changed for mysql2 adapter

王权利请求将github/fork/yvmarques/patch-1合并到master

Created by: yvmarques

As you are using mysql2 for mysql, I guess this fix should also use mysql2. At least it's working for me. And you should restart the app and the worker also.

合并请求报告