如何在 Windows 8.1 中的 git bash 中启动 Mysql

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/28602002/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 10:46:43  来源:igfitidea点击:

how to start Mysql in git bash in windows 8.1

mysqlgitwampserver

提问by alireza

hi i want to know there is anyway to start Mysql in Wampserver in git bash Program with command line like $ Mysql start

嗨,我想知道无论如何都可以在 git bash 程序中的 Wampserver 中使用命令行启动 Mysql,例如 $ Mysql start

回答by rmorrin

The mysql executable is likely not present in your path, so will not be found when you try to execute from any CLI.

mysql 可执行文件可能不存在于您的路径中,因此当您尝试从任何 CLI 执行时都找不到该可执行文件。

Follow the instructions here, adjusting for the version of mysql you have installed.

按照此处的说明进行操作,根据您安装的 mysql 版本进行调整。