日度归档:2018-03-28

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)


账号初始化:

默认root密码为空;然后设置root密码和其他选项:

登陆MariaDB命令行: