mysql不是内部或外部命令,也不是可运行的程序 或批处理文件的其中一个解决方案
发布日期:2022-02-17 02:39:52
浏览次数:25
分类:技术文章
本文共 872 字,大约阅读时间需要 2 分钟。
mysql
想用cmd 打开mysql但是一直显示
'mysql' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
怎么处理呢
首先先看自己环境变量弄好没有 右击我的电脑——>属性——>高级系统设置——>环境变量——>系统变量——>Path里添加";C:\Program Files\MySQL\MySQL Server 5.7\bin"但是我这样弄了还不行 最后还要用管理员身份打开mysql
在启动菜单的搜索栏输入cmd,出现选项后右击,选择以管理员身份运行 这样就行了Microsoft Windows [版本 10.0.17763.1217](c) 2018 Microsoft Corporation。保留所有权利。C:\windows\system32>mysql -uroot -prootmysql: [Warning] Using a password on the command line interface can be insecure.Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 7Server version: 5.7.16-log MySQL Community Server (GPL)Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql>
转载地址:https://blog.csdn.net/qq_39814938/article/details/106382139 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!
发表评论
最新留言
做的很好,不错不错
[***.243.131.199]2024年03月31日 14时06分55秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
说说 Android 碎片 (Fragment) 的生命周期
2019-04-26
运行 Tomcat, 在 Intellij IDEA 控制台输出中文乱码的解决方法
2019-04-26
说说 Android 中动态加载布局的实用技巧
2019-04-26
说说 Android 中如何实现同时兼容手机与平板的新闻应用界面
2019-04-26
说说 Android 的广播机制
2019-04-26
说说在 Android 中如何接收系统广播
2019-04-26
说说在 Android 中如何发送自定义广播
2019-04-26
说说如何使用 Android 的本地广播
2019-04-26
说说在 Android 中如何实现强制下线功能
2019-04-26
说说 jBPM 流程定义语言(8)—— sub-process(子流程活动)
2019-04-26
说说 MD5 加密后的类型(16位与 32位的区别)
2019-04-26
说说如何使用 Java 原生方法实现 MD5 加密算法
2019-04-26
说说在 Spring 中如何创建增强类(AOP)
2019-04-26
Vue 教程(8)—— 事件处理
2019-04-26
Vue 教程(9)—— 表单输入绑定
2019-04-26
说说 Android 中 WebView 的基本用法
2019-04-26
SWIFT入门 Dictionary
2019-04-26