我试图按照所有建议here但没有为我工作。我已经在Fedora上安装了mysql社区服务器mysql-community-server-5.7.9-1.fc21.x86_64
MySQL无法重置“root”密码
我试图使用 sudo grep 'temporary password' mysqld.log
访问临时密码,但它不返回任何密码。
我不断收到错误 Access denied for user 'root'@'localhost' (using password: NO)
当我执行mysqld_safe的--skip-赠款表
2016-06-14 10:46:00 3495 mysqld_safe: Logging to '/var/log/mysqld.log'. chown: invalid user: ‘@[email protected]’ 2016-06-14 10:46:00 3495 mysqld_safe: The file @[email protected]/mysqld does not exist or is not executable. Please cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe& See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information
我不能重新设置root的用户密码我得到这个错误。请帮忙。
您是否尝试过无密码访问? 'mysql -uroot' –
此外,请参阅:http://stackoverflow.com/a/19229842/1911755 –