A database login combines a user name with the client host from which MySQL or MariaDB accepts it. A separate account in phpMyAdmin keeps routine connections away from an administrative identity.

The phpMyAdmin interface forwards account changes to the database server, so the signed-in administrator needs permission to create users. The host field is part of the account name; use the exact address of the phpMyAdmin web server instead of Any host when that connection source is fixed.

New MariaDB accounts begin without data privileges, which phpMyAdmin reports as USAGE. The login can succeed while application databases remain hidden, and database-specific access can be granted separately after the identity is verified.

Steps to create a MySQL or MariaDB user in phpMyAdmin:

  1. Open the User accounts page from the phpMyAdmin server home.
  2. Open the Add user account form.
  3. Enter a unique account name such as guide_operator in the User name field.
  4. Select Use text field from the Host name list.
  5. Enter the private address of the phpMyAdmin web server in the Host name field.

    The example uses 10.254.77.25; replace it with the source address that the database server sees for phpMyAdmin connections.

  6. Enter a new account password in the Password field.

    A unique password avoids reusing an administrator credential.

  7. Repeat the new account password in the Re-type field.
  8. Confirm that every Global privileges checkbox is clear.
  9. Create the account by clicking Go.
  10. Open the User accounts page after account creation.
  11. Confirm that the account row shows the intended host, USAGE, and No under Grant.
  12. Log out of the administrator session.
  13. Enter the new account name in the login Username field.
  14. Enter the new account password in the login Password field.
  15. Submit the phpMyAdmin login form by clicking Log in.
  16. Confirm that the database navigation lists information_schema without the application database.