Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
504 views
in Technique[技术] by (71.8m points)

passwords - authentication_string is not output normally in mysql 5.7

I want to print out the account name and password(authentication_string) column at once and see it.

but, It is printed in the following form.

enter image description here

select user, authentication_string from mysql.user;
    +-------+---------------------------------+
| user     | authentication_string              |
+-------+---------------------------------+
| root          | *D7C60FF269438CF469FF6013C46F881B1B345F37          |
| mysql.session | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE  |
| mysql.sys     | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE   |
| sha256user    | $5$n][lWk
Qnn<q/o6w$D2eNhGMuP/thpHXaqFb59c0a0MOoPnL.xOiQQjtZjp/ |
+---------------+-----------------------+

I want to print sha256user information on 1 line

If anyone knows the answer, please let me know...

question from:https://stackoverflow.com/questions/65932590/authentication-string-is-not-output-normally-in-mysql-5-7

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...