当前位置:网站首页>Basic operations such as MySQL startup under Windows platform
Basic operations such as MySQL startup under Windows platform
2022-06-29 23:57:00 【51CTO】
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 :
Pictured :

stay windows Start manually on the platform mysql service ;
command :
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
cmd Use the command to log in from the command line - Use
MySQL Command Line Client Sign 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 ;
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 .
边栏推荐
- I wonder if I can open an account today? In addition, is it safe to open an account online now?
- Xutils3 transfer set
- Construction of module 5 of actual combat Battalion
- Provide effective performance evaluation 
- On binary tree
- Buffer flow exercise
- 500 error occurred after importing skins folder into solo blog skin
- 大厂试水 HPE推出Arm CPU通用服务器产品
- This simple little function saves 213 hours for our production research team in half a year
- Halcon实用:焊点检出设计思路
猜你喜欢

What is IGMP? What is the difference between IGMP and ICMP?

Halcon实用:焊点检出设计思路

High performance and high availability computing architecture of "microblog comments" in microblog system

Binary search tree 230 The element with the smallest K in the binary search tree 1038 From binary search tree to larger sum tree

Applet plug-in access, development and precautions

LC: maximum subarray and

After working in the software development industry for six years, I changed my ideas in those years

The role of VMware virtual machine

大厂试水 HPE推出Arm CPU通用服务器产品

6.28 problem solving
随机推荐
Yunhe enmo Guoqiang, identifiez - le, saisissez - le, avant l'ébullition de la base de données nationale
Sword finger offer 14- I. cut rope
Set up security groups, record domain names, and apply for SSL certificates
剑指 Offer 15. 二进制中1的个数
Fund valuation, expenses and accounting
Simple understanding of B tree and b+ tree
Leetcode(633)——平方数之和
Construction of module 5 of actual combat Battalion
MetaQ集群安装测试
25 interview questions about Apache
AI首席架构师9-胡晓光 《飞桨模型库与行业应用》
AI赋能新零售,「智」胜之道在于生态思维|数智夜话直播精选摘录
剑指 Offer 14- II. 剪绳子 II
Siemens low code version 9.14: meet different needs
HPE launched ARM CPU general server product
雲和恩墨蓋國强,識別它、抓住它,在國產數據庫沸騰以前
shell-位置参数变量和预定义变量
Under the epidemic, I left my job for a year, and my income increased 10 times
Shell operator
golang7_ TCP programming