Mysql.exe log in with a sore egg

Source: Internet
Author: User
Tags mysql login

Windows command line MySQL Login

What's wrong? How is unknown database ' root '?

No space after-p, the direct loss of the password is OK.

Recommend-p after the direct return, and then according to the prompt to enter the password, so that others can not see the password, but this is still the egg pain, you may count the number of stars to know the length of the password

MySQL connection by default appears to be the database name

Mysql.exe–h localhost–p 3306–u root–p test

The other way of writing directly to remove the space, so write feel the egg very painful ah

Related Article

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.