我試圖按照所有建議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 –