只要把这个工具的绝对位置引入到/usr/bin,所有的问题就迎刃而解了,只要我们把这条命令执行:
ln -s /applications/xampp/bin/mysql /usr/bin
这个时候,我们再输入链接数据库命令