mysqlでユーザー権限を変更したいのですがうまくいきません。
show grantで調べると以下のようになります。ユーザーはrootで入っています。
mysql> show grants for 'user'@'%'; +-----------------------------------------------------------------------------------------------------------+ | Grants for user@% | +-----------------------------------------------------------------------------------------------------------+ | GRANT USAGE ON *.* TO 'user'@'%' | | GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, INDEX, ALTER, CREATE VIEW ON `sysmst`.* TO 'user'@'%' | +-----------------------------------------------------------------------------------------------------------+
grantで設定を変更しようと以下のようなエラーになります。passwordの設定が悪いのでしょうか? ご指導お願いします。
mysql> grant select on *.* to 'user'@'%' identified by password 'password'; ERROR 1045 (28000): Access denied for user 'user'@'%' (using password: YES)
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/10/13 02:08