mac 下解决 -bash: mysql: command not found
来源:互联网 发布:农村淘宝怎么卖农产品 编辑:程序博客网 时间:2024/04/30 01:15
sudo 后用ln命令的方式在EI caption 版本貌似行不通了,为了堵漏洞root账号的很多权限都没了的,只能修改配置文件,像这样命令行下:
$ cd ~
$ vi .bash_profile
增加如下的行添加mysql的命令目录即可:
export PATH="/usr/local/mysql/bin:$PATH"
如果上面的文档编辑错误,有可能导致类似下面的问题,即命令行下大部分命令都用不了了:
-bash: ls: command not found
-bash: touch: command not found
这种情况可以先在命令行上输入如下命令,保证当前命令行窗口的命令可用,修改相关配置文档后重启终端即可:
export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin
0 0
- mac 下解决 -bash: mysql: command not found
- MAC 解决bash: mysql: command not found 的方法
- -bash: mysql: command not found mac
- [Mac]-bash: mysql: command not found
- bash: mysql: command not found 解决
- mac 安装 MySQL报错 -bash: mysql: command not found
- 解决mac安装homebrew后报错-bash: brew: command not found
- mac/Linux系统下alias和ln命令[-bash: mysql: command not found解决办法]
- bash: mysql: command not found
- -bash: mysql: command not found
- bash: mysql: command not found
- mac 下的 bash gradle command not found
- mac 下的 bash gradle command not found
- mac 下的 bash gradle command not found
- 解决bash: mysql: command not found 的方法
- 解决bash: mysql: command not found 的方法
- 解决bash: mysql: command not found 的方法
- 解决bash: mysql: command not found 的方法
- 为什么网站优化要把网页静态化?
- 引用错误
- Socket网络编程练习-----远程协助工具
- 感知机相关概念及Python实现
- linux下svn命令使用大全
- mac 下解决 -bash: mysql: command not found
- easyui-form学习记录-form表单
- Android 笔记 传感器(Sensor)
- [01]-批发算法
- 【腾讯TMQ】是和VR抢蛋糕,还是配合VR分蛋糕? ——浅谈三维重建和应用
- Mysql复制一条记录插入到当前表中
- 深度学习之caffe Loss
- 常规内部类、局部内部类、匿名内部类和静态嵌套类小结
- 动态页面静态化的静态化