当前位置:网站首页>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 !
边栏推荐
- Redis
- PTA 1102 teaching Super Champion volume
- Is AI more fair than people in the distribution of wealth? Research on multiplayer game from deepmind
- 微服务远程Debug,Nocalhost + Rainbond微服务开发第二弹
- Initial experience of cache and ehcache "suggestions collection"
- 10 schemes to ensure interface data security
- 3. About cookies
- 解决远程rviz报错问题
- 基于图像和激光的多模态点云融合与视觉定位
- 最长公共前缀(leetcode题14)
猜你喜欢

The live broadcast reservation channel is open! Unlock the secret of fast launching of audio and video applications

In the first half of 2022, I found 10 books that have been passed around by my circle of friends

數據驗證框架 Apache BVal 再使用

Antisamy: a solution against XSS attack tutorial

3.关于cookie
![[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

Creative changes brought about by the yuan universe

Pasqal首席技术官:模拟量子计算率先为工业带来量子优势

In 2021, the national average salary was released. Have you reached the standard?

Basic concepts and properties of binary tree
随机推荐
"Decryption" Huawei machine vision Corps: Huawei is moving up and the industry is moving forward
PV static creation and dynamic creation
Creative changes brought about by the yuan universe
Borui data was selected in the 2022 love analysis - Panoramic report of it operation and maintenance manufacturers
How to share the same storage among multiple kubernetes clusters
3. About cookies
Multimodal point cloud fusion and visual location based on image and laser
Redis cluster and expansion
Nat address translation
嵌入式面试题(算法部分)
L1-019 who falls first (Lua)
2022.07.05
Golang client server login
Initial experience of cache and ehcache "suggestions collection"
Basic concepts and properties of binary tree
testing and SQA_ Dynamic white box test [easy to understand]
Basic operation of chain binary tree (implemented in C language)
Thread factory in thread pool
Short selling, overprinting and stock keeping, Oriental selection actually sold 2.66 million books in Tiktok in one month
[sword finger offer] 59 - I. maximum value of sliding window