MySQL问题解决:-bash:mysql:command not found
来源:互联网 发布:深圳黑马程序员吧 编辑:程序博客网 时间:2024/04/30 03:40
MySQL问题解决:-bash:mysql:command not found
问题:
[root@linux115 /]# mysql -uroot -p
-bash: mysql: command not found
因为mysql命令的路径在/usr/local/mysql/bin下面,所以你直接使用mysql命令时,
系统在/usr/bin下面查此命令,所以找不到了
系统在/usr/bin下面查此命令,所以找不到了
解决办法是:
ln -s /usr/local/mysql/bin/mysql /usr/bin 做个链接即可
0 0
- MySQL问题解决:-bash: mysql: command not found
- MySQL问题解决:-bash: mysql: command not found
- MySQL问题解决:-bash:mysql:command not found
- MySQL问题解决:-bash:mysql:command not found
- MySQL问题解决:-bash:mysql:command not found
- MySQL问题解决:-bash:mysql:command not found
- MySQL问题解决:-bash:mysql:command not found
- bash: mysql: command not found
- -bash: mysql: command not found
- bash: mysql: command not found
- mysql: command not found问题解决
- mysql:command not found问题解决
- Mysql bash: mysql: command not found
- 提示bash: mysql: command not found解决方法
- bash: mysql: command not found 解决
- -bash: mysql: command not found 问题
- -bash: mysql: command not found 解决办法
- -bash: mysql: command not found mac
- Java中字符串比较时==和equals的区别
- Modbus
- android studio 清除无用资源,缩减apk大小!
- Java源码分析之HashMap
- 泛微OA体验模式给行业带来冲击
- MySQL问题解决:-bash:mysql:command not found
- shell脚本,用于自动构建xcode项目
- u-boot mkconfig文件分析
- 夏至未至,游太湖国家湿地公园
- CSS垂直居中实现方法大全
- Openwrt 串口多用户访问
- Java 中 modifer 'public' is reduntant for interface methods
- gcd补充说明
- 操作系统宏定义