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

许可以下: CC-BY-SA归因
不隶属于 dba.stackexchange
scroll top