# linux中mariadb安装后phpmyadmin 无法连接的问题怎么解决

There are 2 ways to solve this:

1. You can set the root user to use the mysql_native_password plugin
2. You can create a new db_user with you system_user (recommended)

Option 1:

Option 2: (replace YOUR_SYSTEM_USER with the username you have)