Detect MySQL database from connection. Use backticks for MySQL and double quotes for others.