Add debug traces to mysql5_connection