How to configure environment variables after mysql5.7 database installation is complete, mysql5.7 Environment Variables

Source: Internet
Author: User

How to configure environment variables after mysql5.7 database installation is complete, mysql5.7 Environment Variables

If the environment variables are not configured after mysql is installed in Windows 10, you must enter the mysql installation directory when using the command line for mysql operations. This operation will be very troublesome. What should I do? How to configure mysql environment variables in win10 system.

Method/step:

Keyboard combination key: Win + I. Open the settings window and click "system" to enter system settings

Click "open" and select "about"-"system information" in the system settings window ",

In the displayed window, select Advanced system settings ";

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

Find "Path" in "system variables" in the "environment variables" window, and click "Edit ..." Edit;

In the "Edit System variables" window, move the cursor directly and enter a semicolon (;) to find the mysql bin folder and add it to the path as follows:

After entering the command, click "OK" to test and use the combined key: Win + R to open the Run window. Enter cmd to open the command line window, as shown in.

Enter mysql-uroot-p in the command line window, press enter, and enter the mysql password to enter mysql.

The above is how to configure mysql environment variables in the win10 system. I hope it will be helpful for your learning, and I hope you can support more help.

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.