You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PASSWORD() function was used in MySQL 5.7 and before to create passwords for mysql_native_password and sha256_password. And at some point before MySQL 5.7 it also supported pre-4.1 authentication.
Reasons for removal:
MySQL 8.0 removes it
The PASSWORD() function doesn't work for caching_sha2_password
Using the PASSWORD() function to directly update the mysql.user would circumvent password rules.
Using the PASSWORD() function to create a hash which then gets used in ... IDENTIFIED AS ... might also circumvent password rules.
This seem to have been deprecated since TiDB version v2.0.0-rc.3
Description
Should we rename it to
password
or just remove it?I found it included by #2680, @XuHuaiyu PTAL
Originally posted by @Defined2014 in #58312 (comment)
The
PASSWORD()
function was used in MySQL 5.7 and before to create passwords formysql_native_password
andsha256_password
. And at some point before MySQL 5.7 it also supported pre-4.1 authentication.Reasons for removal:
PASSWORD()
function doesn't work forcaching_sha2_password
PASSWORD()
function to directly update themysql.user
would circumvent password rules.PASSWORD()
function to create a hash which then gets used in... IDENTIFIED AS ...
might also circumvent password rules.This seem to have been deprecated since TiDB version v2.0.0-rc.3
Related
The text was updated successfully, but these errors were encountered: