当前位置:网站首页>CMD command enters MySQL times service name or command error (fool teaching)
CMD command enters MySQL times service name or command error (fool teaching)
2022-07-07 19:16:00 【You can't drink coffee with a cold!】
cmd operation MySQL Errors encountered and solutions
1. Mistakes encountered
When we want to use cmd command ( Whether you are running as an administrator or not, there are errors ) Window enter local MySQL, Or use net start mysql Command to start MySQL, Or use mysql -u root -p Yes MySQL When operating , Always report the following errors :
Not an internal command Or is it Invalid service name 
2. The cause of the error
The most likely thing is to install it yourself MySQL I didn't configure the environment variables . Just reconfigure the variables
3. resolvent
3.1 Directly use the path to operate
Find the one you installed at that time MySQL The path of , find bin Catalog 
Get into bin Copy the path in the red box after the directory :
open cmd Command window direct copy cd + This path , You can enter the account and password MySQL 了 
3.2 Configure environment variables
1. Right click on this PC on the desktop , Enter properties 
2. Enter the following page , Click Advanced System Settings 
3. Click environment variable 
3. Double click in system variables Path
4. First click New , And then 3.1 Add the directory inside 
5., Finally, click the confirmation below 
4. To verify again ( After configuring the environment variables )
Run as administrator cmd window , operation MySQL:
Run as a non administrator cmd window , operation MySQL:
It's over , I hope I can help you !
边栏推荐
- L1-019 who falls first (Lua)
- [HDU] 5248 sequence transformation (greedy + dichotomy) [recommended collection]
- 国内首次!这家中国企业的语言AI实力被公认全球No.2!仅次于谷歌
- Realize payment function in applet
- LeetCode 497(C#)
- Interview vipshop internship testing post, Tiktok internship testing post [true submission]
- For friends who are not fat at all, nature tells you the reason: it is a genetic mutation
- Hongmeng smart home [1.0]
- Desci: is decentralized science the new trend of Web3.0?
- Will low code help enterprises' digital transformation make programmers unemployed?
猜你喜欢

2022.07.02

How to estimate the value of "not selling pens" Chenguang?

面试唯品会实习测试岗、抖音实习测试岗【真实投稿】

App capture of charles+postern

Three forms of multimedia technology commonly used in enterprise exhibition hall design

Former richest man, addicted to farming

【软件测试】从企业版BOSS直聘,看求职简历,你没被面上是有原因的

Tips and tricks of image segmentation summarized from 39 Kabul competitions

Standard ACL and extended ACL

6. About JWT
随机推荐
6.关于jwt
网易云信参与中国信通院《实时音视频服务(RTC)基础能力要求及评估方法》标准编制...
L1-019 who falls first (Lua)
Number - number (Lua)
Differences between rip and OSPF and configuration commands
Uvalive – 4621 CAV greed + analysis "suggestions collection"
完整的电商系统
5billion, another master fund was born in Fujian
LeetCode 890(C#)
How to choose the appropriate automated testing tools?
Basic concepts and properties of binary tree
Redis publishing and subscription
Chief technology officer of Pasqual: analog quantum computing takes the lead in bringing quantum advantages to industry
Tapdata 的 2.0 版 ,开源的 Live Data Platform 现已发布
How many are there (Lua)
Nat address translation
Embedded interview questions (algorithm part)
Reuse of data validation framework Apache bval
Standard ACL and extended ACL
Comparison and selection of kubernetes Devops CD Tools