当前位置:网站首页>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 !
边栏推荐
- 2022.07.05
- Charles+Postern的APP抓包
- 3.关于cookie
- Tapdata 的 2.0 版 ,开源的 Live Data Platform 现已发布
- App capture of charles+drony
- Reject policy of thread pool
- In the first half of 2022, I found 10 books that have been passed around by my circle of friends
- 我感觉被骗了,微信内测 “大小号” 功能,同一手机号可注册两个微信
- Micro service remote debug, nocalhost + rainbow micro service development second bullet
- 10 schemes to ensure interface data security
猜你喜欢
Chief technology officer of Pasqual: analog quantum computing takes the lead in bringing quantum advantages to industry
[Tawang methodology] Tawang 3W consumption strategy - U & a research method
6. About JWT
Policy mode - unity
Business experience in virtual digital human
[software test] from the direct employment of the boss of the enterprise version, looking at the resume, there is a reason why you are not covered
Interview vipshop internship testing post, Tiktok internship testing post [true submission]
State mode - Unity (finite state machine)
Differences between rip and OSPF and configuration commands
10 schemes to ensure interface data security
随机推荐
【Base64笔记】「建议收藏」
微信网页调试8.0.19换掉X5内核,改用xweb,所以x5调试方式已经不能用了,现在有了解决方案
Uvalive – 4621 CAV greed + analysis "suggestions collection"
Tips and tricks of image segmentation summarized from 39 Kabul competitions
Micro service remote debug, nocalhost + rainbow micro service development second bullet
PTA 1101 B是A的多少倍
How many are there (Lua)
UVALive – 4621 Cav 贪心 + 分析「建议收藏」
[information security laws and regulations] review
咋吃都不胖的朋友,Nature告诉你原因:是基因突变了
The moveposition function of rigidbody2d of unity2d solves the problem of people or screen jitter when moving
前首富,沉迷种田
【牛客网刷题系列 之 Verilog进阶挑战】~ 多bit MUX同步器
LeetCode 890(C#)
面试唯品会实习测试岗、抖音实习测试岗【真实投稿】
二叉树的基本概念和性质
Hongmeng smart home [1.0]
Chief technology officer of Pasqual: analog quantum computing takes the lead in bringing quantum advantages to industry
Policy mode - unity
Longest common prefix (leetcode question 14)