当前位置:网站首页>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 !
边栏推荐
猜你喜欢

ES6笔记一

Scientists have observed for the first time that the "electron vortex" helps to design more efficient electronic products

App capture of charles+drony

Seize Jay Chou

PV静态创建和动态创建
![[tpm2.0 principle and Application guide] Chapter 9, 10 and 11](/img/7f/0d4d91142bc3d79ea445a8f64afba7.png)
[tpm2.0 principle and Application guide] Chapter 9, 10 and 11

基于图像和激光的多模态点云融合与视觉定位

多个kubernetes集群如何实现共享同一个存储

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

Wechat web debugging 8.0.19 replace the X5 kernel with xweb, so the X5 debugging method can no longer be used. Now there is a solution
随机推荐
Do you know all four common cache modes?
App capture of charles+postern
Hongmeng smart home [1.0]
Recommend free online SMS receiving platform in 2022 (domestic and foreign)
數據驗證框架 Apache BVal 再使用
解决rosdep的报错问题
RISCV64
POJ 1182 :食物链(并查集)[通俗易懂]
L1-023 output gplt (Lua)
面试唯品会实习测试岗、抖音实习测试岗【真实投稿】
微服务远程Debug,Nocalhost + Rainbond微服务开发第二弹
How many times is PTA 1101 B than a
cmd命令进入MySQL时报服务名或者命令错误(傻瓜式教学)
基于图像和激光的多模态点云融合与视觉定位
完整的电商系统
AI writes a poem
初识缓存以及ehcache初体验「建议收藏」
UVALive – 4621 Cav 贪心 + 分析「建议收藏」
Initial experience of cache and ehcache "suggestions collection"
抢占周杰伦