Fixed real_escape_string(..) function required DB connection instance