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

MySql 8.0.16-win64 installation tutorial

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

Share

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

1. Extract the downloaded file, as shown below

.

two。 Add the extracted directory to the environment variable

3. Create a new configuration file my.ini in the decompressed directory

[mysqld] port=3306basedir=D:\\ DataBase\\ MySql\\ mysql-8.0.16-winx64 # replace here with your own directory to extract datadir=D:\\ DataBase\\ MySql\\ mysql-8.0.16-winx64\\ Datamax_connections=200max_connect_errors=10character-set-server=utf8default-storage-engine=INNODBdefault_authentication_plugin=mysql_native_ password [MySQL] default-character-set=utf8 [client] port=3306default-character-set=utf8

4. Run Cmd (be sure to run it as an administrator) and MySql to extract it from the directory

5. Enter mysqld-- initialize-- console and record the initial password

6. Enter the command mysqld install installation service

7. Enter the command mysql-u root-p and then enter the password to log in (here the password is step 5 arrow pointing to the string)

8. If you prompt Can't connect to MySQL server on 'localhost' (10061), the service is not started

9. Enter the command net start mysql to start the mysql service

10. Enter the command mysql-u root-p again, and then enter the password to log in. The following page appears when the login is successful.

11. Enter the command alter user root@localhost identified by 'new password'; change the password

Summary

The above is the MySql 8.0.16-win64 installation tutorial introduced by the editor to you. I hope it will be helpful to you. If you have any questions, please leave a message for me. The editor will reply you in time. Thank you very much for your support to the website!

If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!

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