当前位置:网站首页>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 !
边栏推荐
- Flipping game (enumeration)
- [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
- Initial experience of cache and ehcache "suggestions collection"
- LeetCode 497(C#)
- POJ 1182 :食物链(并查集)[通俗易懂]
- Where does brain hole come from? New research from the University of California: creative people's neural connections will "take shortcuts"
- Interview vipshop internship testing post, Tiktok internship testing post [true submission]
- coming! Gaussdb (for Cassandra) new features appear
- App capture of charles+drony
- Version 2.0 of tapdata, the open source live data platform, has been released
猜你喜欢
Antisamy: a solution against XSS attack tutorial
Multimodal point cloud fusion and visual location based on image and laser
[tpm2.0 principle and Application guide] Chapter 16, 17 and 18
Seize Jay Chou
Review of network attack and defense
SD_ DATA_ RECEIVE_ SHIFT_ REGISTER
How to estimate the value of "not selling pens" Chenguang?
Numpy——2. Shape of array
Redis
Borui data was selected in the 2022 love analysis - Panoramic report of it operation and maintenance manufacturers
随机推荐
[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
【软件测试】从企业版BOSS直聘,看求职简历,你没被面上是有原因的
Interview vipshop internship testing post, Tiktok internship testing post [true submission]
基于图像和激光的多模态点云融合与视觉定位
"Decryption" Huawei machine vision Corps: Huawei is moving up and the industry is moving forward
虚拟数字人里的生意经
反爬虫的重点:识别爬虫
L1-023 output gplt (Lua)
Scientists have observed for the first time that the "electron vortex" helps to design more efficient electronic products
Standard ACL and extended ACL
Tips and tricks of image segmentation summarized from 39 Kabul competitions
Uvalive – 4621 CAV greed + analysis "suggestions collection"
Seize Jay Chou
前首富,沉迷种田
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
ES6笔记一
数据验证框架 Apache BVal 再使用
L1-019 who falls first (Lua)
[sword finger offer] 59 - I. maximum value of sliding window
AI writes a poem