当前位置:网站首页>mysql不是内部命令如何解决
mysql不是内部命令如何解决
2022-06-21 07:27:00 【亿速云】
mysql不是内部命令如何解决
本篇内容主要讲解“mysql不是内部命令如何解决”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“mysql不是内部命令如何解决”吧!
解决方法:1、右击“计算机”图标,在打开的菜单中选择“属性”;2、在系统界面中,点击“高级系统设置”;3、在“系统属性”弹窗中,点击“环境变量”;4、在“环境变量”弹窗的“系统变量”区域中,选中“Path”,点击“编辑”;5、在打开的“编辑环境变量”窗口中,填入Mysql安装目录中的bin目录路径,点击“确定”;6、重新启动cmd窗口即可。
本教程操作环境:windows10系统、mysql8版本、Dell G3电脑。
有时想要从cmd窗口登录mysql服务器,却报错,提示mysql不是内部或外部命令

解决方法:打开电脑的环境变量,选择系统变量,打开Path,将mysql的bin目录路径添加进去就可以了
步骤:
1、右击“计算机”图标,在打开的菜单中选择“属性”

2、在系统界面中,点击“高级系统设置”

3、在“系统属性”弹窗中,点击“环境变量”按钮

4、在“环境变量”弹窗的“系统变量”区域中,选中“Path”点击“编辑”

5、在打开的“编辑环境变量”窗口中,填入Mysql安装目录中的bin目录路径,点击“确定”即可。

6、重新启动cmd窗口即可。
执行mysql -u root -p

到此,相信大家对“mysql不是内部命令如何解决”有了更深的了解,不妨来实际操作一番吧!这里是亿速云网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!
边栏推荐
- Yield guild games and Walken reach cooperation
- App Safety Penetration Test detailed Method Flow
- Exists and in
- How to use MES management system to realize error prevention and early warning
- ETF operation practice record: February 22, 2022
- EasyExcel-排除展示字段-02
- 源代码加密产品的分析
- JS-知识盲区 | async & await的认识
- stm32中定义和声明问题
- Random random number class
猜你喜欢

Minesweeping - C language - Advanced (recursive automatic expansion + chess mark)

【osg】osg开发(02)—基于MinGW编译构建osgQt库

. Net 4.5 asynchronous programming pilot (async and await)

Deploy ZABBIX enterprise level distributed monitoring

Weather forecast applet source code / weather wechat applet source code

C language program design - Sanzi chess (semester homework)

How to use MES management system to realize error prevention and early warning

【Qt】一文总结QtCreator中MSVC编译套件

数学是用于解决问题的工具

微信小程序_5,全局配置
随机推荐
On June 13, 2022, interview questions were asked
2022年6月13日面试被问到面试题目
Pinia advanced: elegant setup (functional) writing + encapsulation into your enterprise project
Deploy ZABBIX enterprise level distributed monitoring
How do I install the visual studio code editor?
app安全滲透測試詳細方法流程
数学是用于解决问题的工具
Easyexcel exclude display field-02
RDKit | 基于Murcko骨架聚类化合物库
海思系列量产硬件调试记录
Sword finger offer (2nd Edition) brush questions | 04 Find in 2D array
X86 CPU access DRAM and PCI
Digital twin smart server: information security monitoring platform
Introduction to missing data filling dataset (2) -- Introduction to multiple datasets and dataset preprocessing (mushroom, news, spam, wine red and year)
如何安装Visual Studio Code编辑器?
IDM mobile terminal function upgrade description
源代码加密产品的分析
What is Eureka? What can Eureka do? How does Eureka work?
Grid search method
[flutter special topic] 72 graphic minimalist custom running lamp acemarquee yyds dry goods inventory