two questions, when logging in, typing mysql-u root-p correctly jumps to the password line, but you can"t type the password on the keyboard. You can"t log in with a password, but you can log in directly by typing mysql. Is this the wrong place? I have been searching the Internet for a long time, and some people say that I may have messed up root users. What should I do? QAQ
this is the user table I checked after I opened and logged in. Have I changed it?-_-- sharp
after being reminded by the following kind-hearted people, the reason is that I am not clear about the following reasons: entering a password under the
1.linux command line will display neither characters nor alternative symbols, for example, most of the time. That is, nothing will be displayed when entering the password. As long as you type it correctly, you can enter. (by Lyux)
2 by hitting enter. Quit without refreshing in time.
3. Remedy safe_MySQLd-- skip-grant-tables-log in again without a password and update your password the way you adopt the answer, and then you"ll be fine. Orz