When I visited the forum, I had no intention of finding a guy asking this question. How can I use the command line to access mysql? I 've collected some specially posted articles to share with you, if you are interested, you can refer to it for help.
When I visited the forum, I had no intention of finding a guy asking this question. How can I use the command line to access mysql? I 've collected some specially posted articles to share with you, if you are interested, you can refer to it for help.
How can I use a command line to access mysql? I have not seen a friend raise such a question on the Forum recently. Some netizens have also given the answer, and I would like to share it with you here!
Use the command line to enter the mysql Method:
Windows opens the line, start in the lower left corner, run, cmd, mysql
Then you need to set your data password. Of course, the premise is that your mysql installation is correct and there are a lot of illustrated installation tutorials on the Internet. Start, Run, cmd [, cd mysql installation directory/bin], mysql-u userName-p Password first use the CD command to enter the mysql BIN directory
Then mysql-u root-p
Enter the ROOT password.
In this way, I hope to help my friends!