linux mysql bash: mysql: command not found

whereis mysql
mysql: /usr/bin/mysql /usr/lib64/mysql /usr/share/mysql /data/tools/mysql/bin/mysql

mysql安装目录/data/tools/mysql/bin/mysql

ln -s  /data/tools/mysql/bin/mysql    /usr/bin

posted @ 2020-04-26 17:56  youxiaoxian  阅读(189)  评论(0编辑  收藏  举报