allow specifying database name for replication sync command and replication applier