---
title: Global Username/Password Connection
slug: singleconnect-reference-guide-3-3-0/global-usernamepassword-connection
description: Learn how privileged users, called Global Users, can set up an SQL connection by configuring a Global Username in the Device Group screen. Discover the prioritized authentication process for connecting to the database through this global username using an
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.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/pWaDfPyzu76aJaQjqlPn3_image.png "Global User Credentials")

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.

