existing user cannot log in
by vinmansbrew from LinuxQuestions.org on (#6K70E)
rhel 7.9
mysql 8.0.35
I have a script user that used to be able to log in. I have no way of knowing when the login stopped working, but it was 2021, sometime.
It was just brought to my attention, so this mysql user isn't used much.
Anyways, now the log in does not work, either directly on the mysql server, or through mysql workbench.
Just a simple error:
Access denied for user 'vendoruser'@'localhost' (using password: YES)
The mysql log doesn't show anything helpful:
Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
I'm sure I'll have to do this sometime, but for now, I just want to keep the script, as-is.
I tried to delete the user from mysql, and re-add. Which appears to work fine. But the problem persists.
After deleting the user, I've flushed privileges, and flushed again after creating.
Not sure where the issue lies?
This is a virtual server, so I can blow it up to try whatever. I've got a backup and a snapshot.
It's likely something dumb, but I just haven't found what it is.
Just to add, my root user logs in fine. I have other connections to this server, that seem to be fine. So, it's just this 1 user.
thanks, all
mysql 8.0.35
I have a script user that used to be able to log in. I have no way of knowing when the login stopped working, but it was 2021, sometime.
It was just brought to my attention, so this mysql user isn't used much.
Anyways, now the log in does not work, either directly on the mysql server, or through mysql workbench.
Just a simple error:
Access denied for user 'vendoruser'@'localhost' (using password: YES)
The mysql log doesn't show anything helpful:
Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
I'm sure I'll have to do this sometime, but for now, I just want to keep the script, as-is.
I tried to delete the user from mysql, and re-add. Which appears to work fine. But the problem persists.
After deleting the user, I've flushed privileges, and flushed again after creating.
Not sure where the issue lies?
This is a virtual server, so I can blow it up to try whatever. I've got a backup and a snapshot.
It's likely something dumb, but I just haven't found what it is.
Just to add, my root user logs in fine. I have other connections to this server, that seem to be fine. So, it's just this 1 user.
thanks, all