问题
I reviewed the logs records for create database-user and it caught my attention: '*94060046C2F3321FA041154DF7FE002629402435'
GRANT USAGE ON *.* TO 'username_name'@'localhost' IDENTIFIED BY PASSWORD '*94060046C2F3321FA041154DF7FE002629402435';
What is this password?
回答1:
MySQL hashes passwords stored in the mysql.user table to obfuscate them. For most statements described here, MySQL automatically hashes the password specified.
So '*94060046C2F3321FA041154DF7FE002629402435'; is the obfuscated value of the password
http://dev.mysql.com/doc/refman/5.6/en/assigning-passwords.html
来源:https://stackoverflow.com/questions/39626626/identified-by-password-in-create-database-mysql