Add alias after mysql install
2017-09-05 本文已影响0人
killsnow
sudo vi /etc/bashrc
alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin
source /etc/bashrc
sudo vi /etc/bashrc
alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin
source /etc/bashrc