1
我已經嘗試過各種事情,但我無法重置我的MySQL工作臺的root密碼。我已經在我的機器上安裝了mysql,但它要求輸入密碼。但是當我輸入默認密碼它根本不工作..我已經看到了各種鏈接,但沒有人非常有幫助任何人都可以告訴我如何做到這一點?當我嘗試這個命令無法重置在Ubuntu的MySQL密碼
sudo mysqld_safe --skip-grant-tables --skip-networking &
它給了我
160706 10:16:20 mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect.
160706 10:16:20 mysqld_safe Logging to '/var/log/mysql/error.log'.
160706 10:16:20 mysqld_safe A mysqld process already exists
sudo killall -9 mysqld
And when i fire sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &
I get different error
160706 10:22:22 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160706 10:22:22 [Note] /usr/sbin/mysqld (mysqld 5.5.49-0ubuntu0.14.04.1) starting as process 8487 ...
與你給我們的有限信息,亞克西 – Drew
好讓我更新我的問題 – user6554447
「我的密碼無效」不是一個問題,它不是編程相關。 – tadman