【发布时间】:2015-05-14 23:37:19
【问题描述】:
我已经安装了 mysql,然后安装了 mysql-server。然后我启动 mysql 恶魔并按照以下步骤操作,
# chkconfig --level 2345 mysqld on
# mysqladmin -u root password testpassword
但我无法设置密码,因为它给了我以下错误,
Access denied for user root@localhost (using password: no)
我以 root 用户身份登录并执行这些步骤。 我什至卸载了mysql服务器并重新安装了,但还是出现了同样的问题。
【问题讨论】: