Fixed column names not being found (at least in mysql) since entire name was being as database name instead of just the dbname part