---
title: Global Username/Password Connection
slug: reference-guide-3-0-0/Mbt8-global-usernamepassword-connection
description: Learn how to establish an SQL connection using privileged global users on the target device with this document. It covers the process of defining a Global Username in the Device Group screen for the device group that includes the target database. Discover
docTags: 
createdAt: 2022-08-01T17:27:58.000Z
---

Privileged users (such as root, super user, etc.) in the target device are called Global Users. To establish an SQL connection using these accounts, and to make the global user’s password invisible to the local user, the configuration below needs to be defined. A Global Username can be defined in the Device Group screen, for the device group that includes the target database.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/pWaDfPyzu76aJaQjqlPn3_image.png" size="80" width="822" height="420" caption="Global User Credentials" position="center" showCaption="true"}

When connecting to the database with a global username via SQL proxy,
there is a preestablished priority to the rules applied, as follows:

- First priority: if there is a defined SAPM account, the SAPM password is used for the GlobalUser authentication. Please refer to the SAPM Account Creation process in section Adding Accounts in SAPM.&#x20;
- Second priority: if the SAPM account is not defined, the global Password is used to connect to the device.
