How to Use the command line to enter mysql

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.