之前在設定MySQL user密碼的時候,雖然設好了卻發生密碼錯的問題….(明明就有打對…)
這時候只要…
killall mysqld
mysqld -u root –skip-grant-tables &
mysql
>use mysql
>UPDATE user SET password=password(‘new password’) where user=’root’;
>FLUSH PRIVILEGES;
之前在設定MySQL user密碼的時候,雖然設好了卻發生密碼錯的問題….(明明就有打對…)
這時候只要…
killall mysqld
mysqld -u root –skip-grant-tables &
mysql
>use mysql
>UPDATE user SET password=password(‘new password’) where user=’root’;
>FLUSH PRIVILEGES;