# Phpmyadmin root access

**URL:** <https://forum.hestiacp.com/t/phpmyadmin-root-access/8149>\
**Category:** Community Support\
**Created:** [December 2, 2022, 8:38am UTC](https://forum.hestiacp.com/t/phpmyadmin-root-access/8149 "2022-12-02T08:38:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephan](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/s/8baadc/32.png) [@stephan](https://forum.hestiacp.com/u/stephan)\
**Post date:** [December 2, 2022, 8:38am UTC](https://forum.hestiacp.com/t/phpmyadmin-root-access/8149/1 "2022-12-02T08:38:29Z")

</div>

hi  
i find root mysql pass in $HESTIA/conf/mysql.conf  
but when i got to [http://domaine.com/phpyadmin](http://domaine.com/phpyadmin)  
login : root  
pass : password in mysql.conf

i can’t acces

i’m wrong ?  
thanks  
stéphan

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [December 2, 2022, 9:52am UTC](https://forum.hestiacp.com/t/phpmyadmin-root-access/8149/2 "2022-12-02T09:52:09Z")

</div>

Run:

mysql -e “ALTER USER ‘root’@‘localhost’ IDENTIFIED BY ‘$mpass’; FLUSH PRIVILEGES;”

Where $mpass = rootpass word in config file

---

<div class="post-metadata">

**Author:** ![Slagroom](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/slagroom/32/3826_2.png) [@Slagroom](https://forum.hestiacp.com/u/Slagroom)\
**Post date:** [January 28, 2023, 2:53pm UTC](https://forum.hestiacp.com/t/phpmyadmin-root-access/8149/3 "2023-01-28T14:53:13Z")

</div>

> [@stephan](#):
>
> $HESTIA/conf/

I noticed that there is  
CHARSETS=‘UTF8,LATIN1,WIN1250,WIN1251,WIN1252,WIN1256,WIN1258,KOI8’  
in hestia’s mariadb config. Can I add UTF8MB4 to that list by adding it to that conf?

---

<div class="post-metadata">

**Author:** ![fmr](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/fmr/32/5522_2.png) [@fmr](https://forum.hestiacp.com/u/fmr)\
**Post date:** [January 7, 2024, 2:03am UTC](https://forum.hestiacp.com/t/phpmyadmin-root-access/8149/4 "2024-01-07T02:03:06Z")

</div>

The password is stored at

```auto
/usr/local/hestia/conf/mysql.conf

```

To find out login and password for root access to MySQL you need to connect to the server via [SSH](https://fornex.com/help/ssh-to-vps/), and open the file using a text editor, for example [Nano](https://fornex.com/help/text-editor-nano/):

```auto
nano /usr/local/hestia/conf/mysql.conf

```

It would look like this:

```auto
HOST='localhost' USER='root' PASSWORD='OLDPASSWORD' CHARSETS='UTF8,LATIN1,WIN1250,WIN1251,WIN1252,WIN1256,WIN1258,KOI8' MAX_DB='500' U_SYS_USERS='' U_DB_BASES='0' SUSPENDED='no' TIME='15:44:07' DATE='2023-12-30' PORT='3306'

```

**Changing the MySQL user password in Hestia CP**

Use this command to change your password:

```auto
mysqladmin -u root -pOLDPASSWORD password 'NEWPASSWORD'

```

After that, try going back to the mysql server with root privileges, using the new password you just created:

```auto
mysql -u root -pNEWPASSWORD

```

or

 ![2024-01-07_045106](https://forum.hestiacp.com/uploads/default/original/2X/3/3d68544a72aba70e9c600801d589870dd1ff3172.png)

I myself have long been hampered by the fact that I can’t control all the bases at the same time. I finally found a solution. **I’m glad!** 😊
