WARNING It’s important to understand that MySQL plugins for WordPress have had vulnerabilities in the past. Keep these plugins updated regularly, as well as disable them when they’re not required.
https://wordpress.org/plugins/sql-buddy/