sanitize database names for MySQL tasks