通过修改用户目录下的~/.bashrc文件进行配置:
~/.bashrc
vim ~/.bashrc # 在最后一行加上 export PATH=$PATH:/home/uusama/mysql/bin
注意事项:
source ~/.bashrc
PATH