我有在CentOS6上运行的MySQL社区服务器版本5.7.17,一切都带有干净的安装,CentOS6安装了“最小”选项,MySQL由官方yum repo安装。当我启动MySQL服务器时,日志"/var/ log /mysqld.log“显示:
[Note] Access denied for user 'UNKNOWN_MYSQL_USER'@'localhost' (u
C:\> "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --installC:\Program Files\MySQL\MySQL Server 5.6\bin>mysql -u root -p localhost
Enter password: **\MySQL Server 5.6\bin