WL#10774: Remove old_passwords, PASSWORD(), other deprecated auth features

Affects: Server-8.0   —   Status: Complete

WL#6409 deprecated a number of items in MySQL 5.7:

  1. IDENTIFIED BY PASSWORD 'hash_string'
  2. PASSWORD() function and SET PASSWORD statement.
  3. Using GRANT to create new users.
  4. Using GRANT to change user credentials/ssl_options/connection attributes for users.
  5. SQL MODE NO_AUTO_CREATE_USER.
  6. old_passwords variable.

The current worklog is to track removal of those items in MySQL 8.0. NOTE: After WL#6409 was written, it was decided to modify removal of item 2:

  • SET PASSWORD ... = PASSWORD('auth_string') is deprecated
  • SET PASSWORD ... = 'auth_string' is NOT deprecated

so only the SET PASSWORD syntax with PASSWORD() should be removed.

NOTE: It was decided to remove system variable --log-builtin-as-identified-by-password without going through deprecation because underlying support for IDENTIFIED BY PASSWORD is removed.