Maximum MySQL user password length
问题 What is the maximum length for a MySQL user password? MySQL uses PASSWORD(str) to encrypt the cleartext password str . This hashed password string is stored in the mysql.user grant table with a CHAR(41) datatype. However, I was not able to find what is the maximum length for the cleartext password str , if there is one. Can anyone help? 回答1: This is the reference pages I found when I googled : Link1 and Link2 If you are using MySQL Replication, be aware that, currently, a password used by a