: The term ‘‘ is not recognized as the name of a cmdlet, function, script file

在Windows 10中安装MySQL后,遇到命令行无法识别'mysql'的问题。通过在命令前添加'.'和'',成功解决了这个问题。这表明可能需要指定MySQL可执行文件的完整路径来运行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

mysql : The term ‘mysql’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

在mysql前面加

.\

在window10上安装MySQL,意外地发现不能使用命令,命令没问题,如下图:
在这里插入图片描述
问题如下下图所示:
在这里插入图片描述
网上找没找到,接着看到了命令(mysqld.exe,可执行程序)是没问题的,于是,我想到了.\,结果欧克。
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值