【发布时间】:2017-09-12 08:11:14
【问题描述】:
我已经在 Ubuntu LTS 16.04 上安装了 MariaDB。然后我跑了
/usr/bin/mysql_secure_installation
并设置root密码。通过mysql -u root -p 访问数据库可以正常工作。但是使用service mysql status 检查状态会打开一个带有以下警告的日志文件:
[Warning] 'user' entry 'root@localhost' has both a password and an authentication plugin specified. The password will be ignored.
问题是:
- 这是担心还是完全正常?
- 如果这是一个问题,我该如何解决?
【问题讨论】:
标签: mysql passwords warnings mariadb root