mysql - error: 1045: Access denied for user 'user'@'123.10.123.123' (using password: NO) when trying to connect -
i trying local snapshot of database running command:
mysqldump --single-transaction --quick -u user -ppass -h somehost db_name | mysql -u user -ppass -h localhost db_name
even though has worked me in past, getting error back:
error: 1045: access denied user 'user'@'123.10.123.123' (using password: no) when trying connect
i can log in username , password above:
mysql -u user -ppass -h localhost
and have granted privileges user local database, e.g.
grant on db_name.* user;
i find strange error message returning user@my_ip_address instead of user@localhost when have specified localhost host. i'm confused why says using password: no, i've provided password.
it turns out remote host attempting download had changed. using correct new hostname solved problem.
Comments
Post a Comment