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

Decompress and start MySQL

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

Share

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

Install MySQL

After decompressing zip, first rename my.default.ini to my.ini and put it in the root directory

My.ini increase

Basedir = D:\ mysql_test\ mysql-5.7.17-master

Datadir = D:\ mysql_test\ mysql-5.7.17-master\ data

Command line execution: mysqld-- initialize-- user=mysql-- console

First execute the above command to generate the library. Note that there is a temporary password and write it down.

Then start the service.

Mysqld

Then the command line:

Mysql-u root-p

Enter password

Then enter:

Set password = password ('root')

Install the Windows service

Mysqld install "MySQL Master"

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