Can't get MySQL to recognize host names? -
i'm running grant privileges on *.* 'root'@'myhostname'; , on hostname , running mysql --host=otherserver --user=root --password , keeps saying access denied.
error 1045 (28000): access denied user 'root'@'myhostname' (using password: yes) does mysql not recognize hostnames?
in mysql, each account combination of user and hostname, password on new account not same of other root accounts.
ensure you've created password on new account adding identified by clause:
grant privileges on *.* 'root'@'myhostname' identified 'new_password'; if account has password, identified by clause overwrites password.
Comments
Post a Comment