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

The method of setting mysql environment variable

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

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to set the mysql environment variable. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

The method of setting the environment variable of mysql: 1, click [computer], [system Properties], [Advanced system Settings], [Environment variable]; 2, edit the PATH variable and add the path to the bin directory; 3, open the command prompt and test whether the setting is successful.

Specific methods:

First, click computer-system Properties-Advanced system Settings-Environment variables.

Then find path in the system variable, click Edit, then copy the path of the bin directory under the mysql installation directory to path, and click OK.

Finally, it is detected whether the environment variable is set successfully.

Open a command prompt and type mysql-uroot-proot123456 directly (Note: U is the abbreviation of user for user; p is the abbreviation of password and password; therefore, the password set by yourself should be written after p). The following result indicates that the configuration is successful and can be logged in any directory.

Thank you for reading! On the method of setting mysql environment variables to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

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