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

Matters needing attention in installing zip under mysql5.7windows

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

1. Download the zip package from the official website. I downloaded mysql-5.7.16-winx64.

two。 Unzip it and put it in any directory. I put D:\ mysql-5.7.16-winx64

3. Configure environment variables (D:\ mysql-5.7.16-winx64\ bin appended to path) to modify my-default.ini

Note: there is no data directory in the unzipped folder, forget it.

4. Administrator privileges go to the cmd command line and to the bin directory of mysql.

1) mysqld-install installation service

2) mysqld-initialize initialization, otherwise there is no data directory.

3) net start mysql started successfully.

4) mysql-u root-p prompts for a password. There is no initial password before version 5.7, and 5.7 has a default initialization password. Search for * .err under mysql.

Type the password and you will log in successfully. The root password can then be updated through SET. (SET PASSWORD FOR 'root'@localhost=PASSWORD (' password you want to set'))

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