Changes mysql DDL to use execQuery instead of checking for pool (#258)

This also fixes when debug is on and no DDL queries are shown
Fixes duplicated debug lines for postgres (#258)