Add database to xpsql.