当前位置:网站首页>Installing MySQL on Windows
Installing MySQL on Windows
2022-06-27 03:50:00 【If】
Novice installation mysql course
Get into mysql Official website : (MySQL) Drag the page directly to the bottom
find downloads -> MySQL Community Server(mysql Community server )
download zip Compressed package version After downloading, unzip it to an appropriate directory, such as mine (E:\server\mysql)
After decompressing mysql Catalog And mysql/bin The directory is added to the system environment variable
stay mysql Create... In the root directory my.ini Add the following
[mysqld]# set basedir to your installation pathbasedir=E:\\server\\mysql# set datadir to the location of your data directorydatadir=E:\\server\\mysql\\datanext cmd Initialize database
# Get into mysql Catalog # This will initialize a random password root Recommended bin/mysqld --initialize --user=mysql# This will initialize a password free root It is not recommended to use bin/mysqld --initialize-insecure --user=mysqlAfter waiting for a period of time mysql\data A device name will be generated in the directory .err Open your file with Notepad
There is a paragraph at the bottom A temporary password is generated for [email protected]: (?wghB.>#3fY
After the colon is your default password
Next, install the service
# Installation services bin/mysqld install# Start the service net start mysql# Get into mysql Change the default password mysql -u root -pEnter password: (enter the random root password here)# Change the default password ALTER USER 'root'@'localhost' IDENTIFIED BY 'root-password';thus mysql stay windows The installation under the platform has been completed
It can be managed on the computer -> service ->mysql Set to manual start
Start with the command when needed mysql service , Stop when not needed mysql service
# start-up net start mysql# stop it net stop mysql# Delete service sc delete mysql边栏推荐
- There are two problems when Nacos calls microservices: 1 Load balancer does not contain an instance for the service 2. Connection refused
- Is the money invested in financial products guaranteed? Is there no more?
- Super detailed, 20000 word detailed explanation, thoroughly understand es!
- IOS development: understanding of dynamic library shared cache (dyld)
- Pat grade a 1020 tree Traversals
- 手机新领域用法知识
- Mysql database foundation: DQL data query language
- How do I simplify the development of interfaces in open source systems?
- JMeter distributed pressure measurement
- 2021:Zero-shot Visual Question Answering using Knowledge Graphs使用知识图的零次视觉问答
猜你喜欢

2021:Beyond Question-Based Biases:Assessing Multimodal Shortcut Learning in Visual Question Answeri

Pat grade a 1026 table tennis

真xx相来了?测试/开发程序员为什么不愿意加班,这是个疯狂的状态......

2021:Beyond Question-Based Biases:Assessing Multimodal Shortcut Learning in Visual Question Answeri

发现一款 JSON 可视化工具神器,太爱了!

2021:Graphhopper: Multi-Hop Scene Graph Reasoning for Visual Question Answering

Pat grade a 1019 general palindromic number

GAMES101作业7提高-微表面材质的实现过程

PAT甲级 1021 Deepest Root

乐得瑞LDR6035 USB-C接口设备支持可充电可OTG传输数据方案。
随机推荐
苹果手机证书构体知识
Servlet and JSP final review examination site sorting 42 questions and 42 answers
通信中的机器学习最佳阅读资料列表
[promise I] introduction of promise and key issues of hand rolling
Games101 job 7 improvement - implementation process of micro surface material
文旅灯光秀打破时空限制,展现景区夜游魅力
苹果唯一图谱架构常识
事业观、金钱观与幸福观
Pat grade a 1025 pat ranking
PAT甲级 1019 General Palindromic Number
2021:Graphhopper: Multi-Hop Scene Graph Reasoning for Visual Question Answering
JMeter takes the result of the previous request as the parameter of the next request
fplan-布局
Pat grade a 1020 tree Traversals
Cvpr2021:separating skills and concepts for new visual question answering
windows上安装MySQL
Pat class a 1024 palindromic number
FastDDS的服务器记录-译-
There are two problems when Nacos calls microservices: 1 Load balancer does not contain an instance for the service 2. Connection refused
Ldr6028 OTG data transmission scheme for mobile devices while charging