当前位置:网站首页>Basic operations such as MySQL startup under Windows platform
Basic operations such as MySQL startup under Windows platform
2022-06-29 17:30:00 【Operation and maintenance home】
One 、windows Start and stop under mysql
=======================
mysql Once installed , Need to start the mysql service , Otherwise you will not be able to access .
When we're in windows Under the platform , And use binary distribution , Installed mysql It is automatically added to the self starting service , When windows start-up 、 When it stops , The database starts 、 stop it ; So where do we check ;
single click “ Start ” menu , Type in the search box services.msc, See the picture ;

Click on service ;

You can see that his state is Running , And the startup type is Automatically , That means he will follow windows Start the operating system , Stop and stop .
So we can right-click here , stay windows Stop and restart on the platform mysql service ;

So if we don't want to deploy in windows On the platform mysql service , If the system starts up automatically , How to configure ;
You can double-click the service , To configure ;

It can be configured to Manual 、 prohibit Other types , You can configure it according to your own needs .
Two 、 How to be in windows Restart manually under the platform mysql Service?
single click “ Start ” menu , Type in the search box cmd, Run the service as an administrator ;

After opening, the interface is as follows :

stay windows Stop manually on the platform mysql service ;
command :
net stop mysql
Pictured :

stay windows Start manually on the platform mysql service ;
command :
net start mysql
Pictured :

Be careful : Input MySQL It's the name of the service , We are installing mysql Service configuration name . If your MySQL It's the name service DB Or any other name , You should enter “net start DB” Or any other name .
3、 ... and 、windows Login under the platform mysql database
There are two ways ;
stay
cmdUse the command to log in from the command lineUse
MySQL Command Line ClientSign in
Let's take a look at them separately ;
1、 stay cmd Log in from the command line
First of all, you should open it through the above steps cmd Command line , Then execute the following command to log in ;
mysql -uroot -p
# Then input root User's password
Pictured :

Input exit You can exit ;
2、 Use mysql command client Sign in
stay “ Start “ Enter... From the menu mysql, This service will be automatically brought out , Pictured :

Open the service , You will be prompted to enter your password , We type in root User's password , enter ;

thus , In this paper, the end .
For more information, go to VX official account “ Operation and maintenance home ” , Get the latest article .
------ “ Operation and maintenance home ” ------
------ “ Operation and maintenance home ” ------
------ “ Operation and maintenance home ” ------
Interview with system operation and maintenance engineer , Nominations for excellent staff of operation and maintenance engineer ,tr O & M Engineer , I'm calling the operation and maintenance engineer for daily work ,IT Senior operation and maintenance engineer ;
Intelligent manufacturing operation and maintenance engineer training course , Remote office operation and maintenance engineer , Salary of Mindray medical operation and maintenance engineer , What does the backstage O & M engineer do ;
How about the wind operation and maintenance engineer , Inspur cloud operation and maintenance engineer , Sample certificate of medical equipment operation and maintenance engineer , Boyfriend of operation and maintenance engineer , The O & M engineer is grumpy .
边栏推荐
- PCB板框的绘制——AD19
- PCB frame drawing - ad19
- Bags of Binary Words for Fast Place Recognition in Image Sequenc
- What role does the supply chain management system play in the supply chain scenario?
- Sectigo ov pan domain name certificate is 1590 yuan a year easy to use
- 育润多维发力慈善领域,勇抗企业公益大旗
- 底层内功修养
- Why is informatization ≠ digitalization? Finally someone made it clear
- Inheritablethreadlocal resolves message loss during message transmission between parent and child threads in the thread pool
- 第42期:MySQL 是否有必要多列分区
猜你喜欢

深圳内推 | 深圳计算科学研究院招聘机器学习助理工程师(校招)

@Difference between component and @configuration

手把手教你在windows上安装mysql8.0最新版本数据库,保姆级教学

Why is informatization ≠ digitalization? Finally someone made it clear

Viewing splitchunks code segmentation from MPX resource construction optimization

0基础自学STM32(野火)——寄存器点亮LED

Online text digit recognition list summation tool

mysql.sock的概念是什么

0基础自学STM32(野火)——使用寄存器点亮LED——GPIO功能框图讲解

PCB frame drawing - ad19
随机推荐
High landing pressure of "authorization and consent"? Privacy computing provides a possible compliance "technical solution"
Epoll analysis
在线文本数字识别列表求和工具
reflex
【Oracle】基础知识面试题
R语言使用epiDisplay包的kap函数(kap.2.raters函数)计算Kappa统计量的值(总一致性、期望一致性)、对两个评分对象的结果进行一致性分析、评分的类别为多个类别
R语言epiDisplay包的aggregate函数将数值变量基于因子变量拆分为不同的子集,计算每个子集的汇总统计信息、aggregate.data.frame函数包含缺失值的情况下分组统计结果为NA
Bags of Binary Words for Fast Place Recognition in Image Sequenc
使用 SSH 方式拉取代码
Error:Connection refused: connect
C language practice ---- pointer string and linked list
controller、service、dao之间的关系
The soft youth under the blessing of devcloud makes education "smart" in the cloud
mysql在linux中2003错误如何解决
Go语言多方式并发实现龟兔赛跑
与爱同行,育润走进贫困家庭,助推公益事业
Graduation season | Huawei experts teach interview tips: how to get a high salary offer from a large factory?
自定义HandlerInterceptor拦截器实现用户鉴权
Online sql to CSV tool
手把手教你在windows上安装mysql8.0最新版本数据库,保姆级教学