当前位置:网站首页>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边栏推荐
- Anaconda3 is missing a large number of files during and after installation, and there are no scripts and other directories
- 快速掌握 ASP.NET 身份认证框架 Identity - 通过邮件重置密码
- [数组]BM94 接雨水问题-较难
- Ledrui ldr6035 usb-c interface device supports rechargeable OTG data transmission scheme.
- 电商产品如何在知乎上进行推广和打广告?
- 2021:passage retrieval for outside knowledgevisual question answering
- 再探Handler(上)(Handler核心原理最全解析)
- 投资理财产品的钱有保障吗?会不会没有了?
- 基于MobileNet-Yolov4搭建轻量化目标检测
- Static timing analysis OCV and time derive
猜你喜欢
![Basic functions of promise [IV. promise source code]](/img/a0/8f28ec8951088b8e66e7079432f326.png)
Basic functions of promise [IV. promise source code]

Kotlin Compose 自定义 CompositionLocalProvider CompositionLocal

Argo Workflows —— Kubernetes的工作流引擎入门

WPF 开源控件库Extended WPF Toolkit介绍(经典)

快速掌握 ASP.NET 身份认证框架 Identity - 通过邮件重置密码

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

WPF open source control library extended WPF toolkit Introduction (Classic)

Uni app's uparse rich text parsing perfectly parses rich text!

Stack overflow vulnerability

Argo workflows - getting started with kubernetes' workflow engine
随机推荐
Agile development - self use
低代码开发平台NocoBase的安装
Promise [II. Promise source code] [detailed code comments / complete test cases]
2021:passage retrieval for outside knowledgevisual question answering
Record the method of reading excel provided by unity and the solution to some pits encountered
MySql的开发环境
Interview-01
乐得瑞LDR6035 USB-C接口设备支持可充电可OTG传输数据方案。
Pat grade a 1021 deep root
Pat grade a 1026 table tennis
Pat grade a 1023 have fun with numbers
fplan-电源规划
2021:Graphhopper: Multi-Hop Scene Graph Reasoning for Visual Question Answering
How to make ef core 6 support dateonly type
A^2=e | the solution of the equation | what exactly can this equation tell us
2022 operation of simulated examination platform for tea artist (Senior) work license question bank
Products change the world
基于MobileNet-Yolov4搭建轻量化目标检测
Kotlin compose custom compositionlocalprovider compositionlocal
fplan-布局