当前位置:网站首页>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 !
边栏推荐
猜你喜欢
Complete e-commerce system
Interview vipshop internship testing post, Tiktok internship testing post [true submission]
App capture of charles+postern
6.关于jwt
Pasqal首席技术官:模拟量子计算率先为工业带来量子优势
PV static creation and dynamic creation
In 2021, the national average salary was released. Have you reached the standard?
Short selling, overprinting and stock keeping, Oriental selection actually sold 2.66 million books in Tiktok in one month
In the first half of 2022, I found 10 books that have been passed around by my circle of friends
How to estimate the value of "not selling pens" Chenguang?
随机推荐
Redis publishing and subscription
Charles+drony的APP抓包
The top of slashdata developer tool is up to you!!!
2022.07.04
unity2d的Rigidbody2D的MovePosition函数移动时人物或屏幕抖动问题解决
3.关于cookie
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
Realize payment function in applet
Multimodal point cloud fusion and visual location based on image and laser
Nat address translation
Numpy——axis
Key points of anti reptile: identifying reptiles
国内首次!这家中国企业的语言AI实力被公认全球No.2!仅次于谷歌
[HDU] 5248 sequence transformation (greedy + dichotomy) [recommended collection]
Borui data was selected in the 2022 love analysis - Panoramic report of it operation and maintenance manufacturers
Version 2.0 of tapdata, the open source live data platform, has been released
The live broadcast reservation channel is open! Unlock the secret of fast launching of audio and video applications
[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
Where does brain hole come from? New research from the University of California: creative people's neural connections will "take shortcuts"
基于图像和激光的多模态点云融合与视觉定位