当前位置:网站首页>Install and initialize MySQL (under Windows)
Install and initialize MySQL (under Windows)
2022-06-25 20:12:00 【chinrock】
1. Download from the official website MySQL Installation package https://dev.mysql.com/downloads/mysql/
You can download from different operating systems (linux windows Fine )
When I use it here windows
Unzip to the specified directory 
2. Initialization and configuration MySQL
Open... With administrator privileges cmd window , Direct access to MySQL Of bin Under the table of contents 
install MySQL, After success will prompt Successfully
mysqld --install
initialization MySQL, Initialization will finally generate a root User's random password , Remember to write it down for your first login
mysqld --initialize --console
start-up MySQL service
net start MySQL

Because the login password for the first initialization is too complex , Make it simpler , final root It's a password
alter user 'root'@'localhost' identified by 'root';

Finally, for ease of use , Better be MySQL Set to global variable :
1. New system variable 
2. take mysql Variable to path Under the path 
Complete the installation
边栏推荐
- Record the training process
- 206. reverse linked list (insert, iteration and recursion)
- Redis is a loser. If you don't understand the usage specification, you will spoil it
- 在打新債開戶證券安全嗎?低傭金靠譜嗎
- Clickhouse disables automatic clearing of tables / columns, that is, disables TTL
- JS asynchronism (III. usage of generator and async/await)
- Teach you how to add custom controls to a map
- Mqtt+ardunio+esp8266 development (excluding mqtt server deployment)
- Installing or uninstalling VMware could not find the network location
- Please do not call Page constructor in files
猜你喜欢

Transunet reading notes

JS asynchronism (I. asynchronous concept, basic use of web worker)

Web container basic configuration

Clickhouse disables automatic clearing of tables / columns, that is, disables TTL

Applet password input box

CG kit explore high performance rendering on mobile terminal

Applet wx Request encapsulation

Determine whether it is a web page opened on wechat

Connect the local browser to the laboratory server through mobaxterm

String since I can perform performance tuning, I can call an expert directly
随机推荐
Matlab_ two point zero five
PAT B1091
Png to NII
Connect the local browser to the laboratory server through mobaxterm
PAT B1061
RPM package installation command
Suddenly found that the screen adjustment button can not be used and the brightness can not be adjusted
Web components - Basics
4.ypthon function foundation
JQ implements tab switching
VMware failed to prompt to lock this profile exclusively
Redis is a loser. If you don't understand the usage specification, you will spoil it
Some pictures of real machine preview development and debugging are not shown
JS get the parameters in the URL link
Yum command
How to understand var = a = b = C = 9? How to pre parse?
Redis high availability: do you call this the principle of master-slave architecture data synchronization?
2.5 find the sum of the first n terms of the square root sequence
PAT B1059
NMS reduction box