The first database to which the client is connected is identified as the primary database. The other databases to be included in the multi-database environment are designated as the auxiliary databases. A client must have a valid user identification and password and must be granted appropriate privileges to all databases in order to perform a multi-database query.