MySQL 8 brought many highly anticipated features, with support
for user roles, a new shell, a more robust data dictionary, and
better SQL support, just to name a few. There are lesser-known
new features, however, that aim to reduce overall DBA workload
and streamline management processes – and one of these is support
for dual passwords, first implemented in MySQL 8.0.14. User
accounts are now permitted to have dual passwords, with a
designated primary and secondary. This makes it possible to
seamlessly perform user credential changes even with a large
number of servers, or with multiple applications connecting to
different MySQL servers.
Historically, a MySQL credential change had to be timed so that
when the password change was made and propagated throughout the
database nodes, all applications that use that account for
connections had to be updated at the same time. This is
problematic for many reasons, but with database and application …
[Read more]