Can you catch it the same way than here ?
https://github.com/DataDog/dd-agent/commit/78af8359a8d5ebc67e4044691e4f7bdbc592cd52#checks/db/mysql.py
We modified that a few days ago.