mysql5.7 How to configure environment variables after the completion of a database installation _mysql

Source: Internet
Author: User
Tags mysql in

If we do not configure the environment variables after installing MySQL in the WINDOWS10 system, we must enter the MySQL installation directory when using the command line for MySQL operation. It can be very cumbersome to operate. What should I do about it? Win10 the method of configuring MySQL environment variables in the system.

Method/Step:

Keyboard key combination: Win+i, open the Settings window, click "System", enter system Setup

When you click Open, select "About"-"system Information" in the System Setup window,

Select Advanced system settings in the window that appears;

In the System Properties window, select environment variable ...;

In the Environment Variables window, locate Path in system variables and click Edit ... to edit;

In the Edit System Variables window, move the cursor directly to the last semicolon (;) find the MySQL Bin folder to add to the path as shown below

After the input, click the "OK" button to test using the key combination: win+r, open the Run window, enter: cmd, open the Command Line window as shown in the following figure

In the Command Line window input: mysql-uroot-p, enter the MySQL password, you can enter MySQL.

Wonderful topic sharing: MySQL different versions of the installation Tutorials mysql5.7 version Installation Tutorials

The above is the WIN10 system to configure the MySQL environment variable method, I hope to help you learn, but also hope that we support cloud habitat community.

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.