database name is optional