關於DB權限的問題

by

之前在設定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;

發表迴響

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

連結到 %s


Follow

Get every new post delivered to your Inbox.