[root@jboss ~]# mysql -u root -p
-bash: mysql: command not found

 

需要安装mysql

# yum install mysql之后就行 了