---
title: "MySQL/MariaDB database user accounts"
canonical_url: "https://www.zone.lv/help/kb/mysqlmariadb-database-user-accounts/"
post_type: "ht_kb"
published: "2024-04-19T13:02:44+00:00"
modified: "2024-04-19T13:02:44+00:00"
language: "en"
author: "Maris Ringvee"
taxonomies:
  ht_kb_category:
    - name: "MariaDB / MySQL"
      url: "https://www.zone.lv/help/kb-categories/mariadb-mysql-en/"
  ht_kb_tag:
    - name: "database"
      url: "https://www.zone.lv/help/kb-tags/database/"
    - name: "mariadb"
      url: "https://www.zone.lv/help/kb-tags/mariadb-en/"
    - name: "mysql"
      url: "https://www.zone.lv/help/kb-tags/mysql-en/"
    - name: "MySQL/MariaDB"
      url: "https://www.zone.lv/help/kb-tags/mysqlmariadb/"
    - name: "wordpress"
      url: "https://www.zone.lv/help/kb-tags/wordpress-en/"
---

# MySQL/MariaDB database user accounts

MySQL/MariaDB database user accounts can be found in the webhosting management by navigating to `Databases` -&gt; `MySQL/MariaDB` -&gt; `Existing MySQL/MariaDB databases`.

You can add a new user from the same page by clicking on the button -&gt; `add MySQL/MariaDB user`.

![](https://www.zone.lv/static/sites/5/db-user-page-1024x802.png)
After configuring the database user, you can add it by clicking the button `add`.

[![](https://www.zone.lv/static/sites/5/db-user-add-button-943x1024.png)](https://www.zone.lv/static/sites/5/db-user-add-button.png)

Changing the password for a MySQL/MariaDB database user account

If you don’t know the existing password for a database user, you can reset it. To do this, press `modify` in the `Existing MySQL/MariaDB accounts` section.

 Attention!  When changing the password for the database user associated with a website, the website may stop functioning. Before changing the password, ensure that the database user is not actively linked to the website.

![](https://www.zone.lv/static/sites/5/db-user-modify-1024x319.png)

When setting a password, please keep the following conditions in mind. To change the password, press `Save changes`.

![](https://www.zone.lv/static/sites/5/db-user-save-pass.png)

## How to find database user information associated with WordPress?

The database user information for WordPress is located in the wp-config.php file on the web server. To access it, first log in to the server using WebFTP: `Webhosting` -&gt; `Shortcuts` -&gt; `Manage files on the server `

![](https://www.zone.lv/static/sites/5/WebFTP-ligipaas-pealehelt.png)

WordPress installed on the main domain is located by default in the htdocs folder. If WordPress is installed on a subdomain, navigate to the corresponding subdomain folder.

[![](https://www.zone.lv/static/sites/5/wordpress_mysql2.png)](https://www.zone.lv/static/sites/5/wordpress_mysql2.png)

In the `htdocs` folder, find the file named `wp-config.php`, click on it and select `Edit`.

[![](https://www.zone.lv/static/sites/5/wordpress_mysql3.png)](https://www.zone.lv/static/sites/5/wordpress_mysql3.png)

In the `wp-config.php` file, the database username and password associated with the WordPress website are listed under MySQL database username and MySQL database password, respectively.

![](https://www.zone.lv/static/sites/5/db-config-wp.png)

Additionally, you can also find the database name associated with WordPress and the hostname of the database server in the file.
