macos -bash:command not found 解决方法
来源:互联网 发布:aspera上传数据至sra 编辑:程序博客网 时间:2024/05/12 02:30
macos -bash:command not found 解决方法
第一次装完mysql没有任何问题,美滋滋,但是第二次打开就没那么简单了,即使是进到了usr/local/mysql/bin目录下,mysql命令仍然是command not found。
网上很多解决方法用in -s 添加快捷方式这种方法,亲身体验后并不好使。
主要解决方法还是要在bash_profile里面增加mysql环境变量(路径);
解决步骤如下:
1、修改 ~/.bash_profile 文件,添加:
export PATH=$PATH:/usr/local/mysql/bin;
2、下次启动时:source ~/.bash_profile
搞定~
阅读全文
0 0
- macos -bash:command not found 解决方法
- bash command not found解决方法
- bash:command not found解决方法
- bash:command not found解决方法
- bash: sqlplus: command not found 解决方法
- bash sqlplus command not found 解决方法
- bash: sqlplus: command not found 解决方法
- bash: sqlplus: command not found 解决方法
- -bash: pecl: command not found的解决方法
- bash: sqlplus: command not found 解决方法
- 提示bash: mysql: command not found解决方法
- -bash: wget: command not found 解决方法
- bash: sqlplus: command not found 解决方法
- CentOS bash: lspci: command not found解决方法
- bash:git:command not found解决方法
- bash: sqlplus: command not found 解决方法
- bash: sqlplus: command not found 解决方法
- -bash: pecl: command not found的解决方法
- Eigen: 二维Vector怎么转为矩阵
- machine learning学习笔记<二>
- 二项分布,binomial(n,k,p)
- HDOJ HDU 1026 Ignatius and the Princess I
- 丢失的相机照片怎么找回来的使用方法分享
- macos -bash:command not found 解决方法
- 无题
- 1052. 卖个萌 (20)
- 安卓使用PhotoView进行对图片的双击放大,单击退出
- maven常用的命令
- .net ArrayList show in gridview
- 机器学习算法汇总
- 性能测试工程师 简历
- js 前端实现国际化配置