在命令提示符下获取MySQL路径 [英] Getting MySQL path in command prompt

查看:151
本文介绍了在命令提示符下获取MySQL路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Windows中使用命令提示符将mysql安装路径升级到bin文件夹.是否有任何命令可以获取mysql安装路径的位置?

How can I get the mysql installation path up to bin folder using command prompt in windows.Is there any command to get the location of mysql installation path?

推荐答案

(如果我正确回答了您的问题) 就像您将所有其他目录添加到路径一样

(if I get your question correctly) Like you wold add any other directory to path

set PATH =%PATH%; C:\ DirectoryToAdd \ ToPath

set PATH=%PATH%;C:\DirectoryToAdd\ToPath

如果在开始,结尾或末尾添加%PATH%,则不会发生变化,但是必须添加它,否则您的路径只会是您的新目录.

It doesnt metter if you add %PATH% on, beginig or on the end, but you must add it, otherwise your path will only be your new directory.

找到mySql安装目录(例如C:\ Program Files \ MySQL \ MySQL Server 5.6 \ bin),然后在上方键入comand 设置PATH =%PATH%; C:\ Program Files \ MySQL \ MySQL Server 5.6 \ bin

Find mySql installation directory ( for example C:\Program Files\MySQL\MySQL Server 5.6\bin) and then type the comand above set PATH=%PATH%;C:\Program Files\MySQL\MySQL Server 5.6\bin

提示:

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆