Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure environment variables in win10 by mysql

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how mysql configures environment variables in win10". The explanation in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian and go deep into it slowly to study and learn "how mysql configures environment variables in win10" together!

1. After installing mysql, you need to configure environment variables (win 10)

Select My Computer, right-click, select Properties-> Advanced-> System Variables in Environment Variables, and set the following values for MYSQL_HOME and Path respectively (setting principle: if there is a corresponding variable, edit it directly, note that only add it but not delete it; if there is no variable, create it and edit it again).

There is no environment variable MYSQL_HOME.

MYSQL_HOME=D:\App\Mysql

(Note here that if you are adding variable content for an existing variable, you must enter the semicolon in the English input method state before entering the variable content)

2. After creating the environment variable, find Path in the environment variable, click Edit, click New in the pop-up box, and create a new environment variable.

Path=%MYSQL_HOME %\bin

3. Enter %MYSQL_HOME%\bin, then click OK, remember it must be 3 OK

If you click Edit Path, it opens like this.

You need to add;%MYSQL_HOME%\bin at the end of the variable value ( MYSQL_HOME%\bin is preceded by a semicolon in English)

After editing, confirm that the configuration is complete

After configuration, we can type in cmd

mysql -u root -p

Enter password after enter

Thank you for reading, the above is "mysql how to configure environment variables in win10" content, after the study of this article, I believe everyone on mysql how to configure environment variables in win10 this problem has a deeper understanding, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report