windows 8 系统将mysql加入环境变量

 时间:2026-02-14 21:22:21

1、运行mysql数据库,打开windows8中的cmd,输入mysql -h localhost -u root -p,假如显示下图所示,证明环境变量中没有加入mysql

windows 8 系统将mysql加入环境变量

2、找到mysql.exe安装路径,复制之(以本人电脑为例),通常情况下mysql.exe都存放在mysql/bin/目录下。

windows 8 系统将mysql加入环境变量

3、找到windows8中“环境变量”所在位置,在系统变量中寻找“path”,单击编辑按钮

windows 8 系统将mysql加入环境变量

windows 8 系统将mysql加入环境变量

4、将mysql.exe的路径复制到“变量值”内容框中,注意需要“;D:\web\mysql\bin”中最前面需要加“分号”,然后一路确定。

windows 8 系统将mysql加入环境变量

windows 8 系统将mysql加入环境变量

5、重启mysql,重复步骤1,观察变化,可以发现能够操作数据库了

windows 8 系统将mysql加入环境变量

windows 8 系统将mysql加入环境变量

  • 在GNS3里面怎么安装c7200本地路由器
  • 如何将Android Studio项目关联SVN并上传服务器
  • win10设置python环境变量
  • 如何使用python中cv2实现直方图均衡化
  • Linux平台搭建属于自己的专属博客wordpress!
  • 热门搜索
    咬牙是怎么回事 长高方法 油豆腐怎么做好吃 番泻叶减肥方法 治疗面瘫的土方法 慢性荨麻疹怎么治 新手面粉发酵方法 家常红烧肉的做法 手机赚钱方法 鼻出血的止血方法