Where is the cache for the MySQL caching_sha2_password auth plugin stored?
-
11-01-2021 - |
题
Where is the cache for the new default authentication plugin caching_sha2_password in MySQL 8 stored? I want to know for future reference how to clear it in case I ever run into any problems using it.
解决方案
'when there exists a cached copy of the password hash in memory' (ref).
So its all in memory.
FLUSH PRIVILEGES can clear it
其他提示
- Open MySQL from System Preferences > Initialize Database >
- Type your new password.
- Choose 'Use legacy password'
- Start the Server again.
- Now connect the MySQL Workbench
Please read full Answer here
不隶属于 dba.stackexchange