Skip to content

MySQL MySQL Authentication

Qualytics signs in to MySQL with a user name and password. Every query runs as that account, so MySQL uses its grants to decide what Qualytics may read or write (see Permissions).

User and Password

Fill in User and Password in the Connection Properties section of the connection form. Use a dedicated account for Qualytics, so its grants and its sign-ins are easy to tell apart from people's.

Accounts and Hosts

MySQL tells accounts apart by user name and host. 'qualytics'@'localhost' and 'qualytics'@'%' are two separate accounts, each with its own password and grants. Create the Qualytics account for the host Qualytics connects from, or for '%', and grant the Permissions to that same account.

Note

An account created only for localhost cannot sign in from your Qualytics deployment, and the connection fails as if the password were wrong. See Authentication Errors.

Credentials from a secrets manager

Any credential field can take its value from HashiCorp Vault or another secrets manager instead of being typed in: turn on Secrets Management on the connection and write ${key} in the field. See the HashiCorp Vault pages for setup and troubleshooting.