A problem with MySQL login exception:

Source: Internet
Author: User
Tags mysql login

Problem Description:

Normally this is the case when you start MySQL:

1, win open input interface;

2, Input cmd command, right mouse button Select "Run as Administrator";

3, then enter the login statement to log in to MySQL in the interface:

- -p password

As long as the user name and password are correct, you can basically log in successfully. But today anyway the login failed:

The content description is basically like this: MySQL is not an internal command. In other words, MySQL is not logged in properly;

After reviewing the data, I found that the basic cause of the problem is: I should find the MySQL installation directory, and then go to \ bin (there is a mysql.exe executable) directory and then run the login MySQL command, so that you can correctly call the MySQL command to log in to MySQL.

After the normal login is this:

Others are just records:

1. Startup and shutdown of MySQL service:

// start MySQL service: net start MySQL; // shut down MySQL service net stop MySQL;

A problem with MySQL login exception:

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.