You need to give some command
usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist, groupremove, makecache, upgrade, provides, shell, install, whatprovides, groupinstall, update, repolist, groupupdate, info, search, check-update, list, remove, clean, grouperase >
Setting up Remove Process
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package mysql.i386 0:5.0.45-7.el5 set to be erased
--> Processing Dependency: libmysqlclient.so.15 for package: mysql-devel
--> Processing Dependency: libmysqlclient_r.so.15 for package: mysql-devel
--> Processing Dependency: mysql = 5.0.45-7.el5 for package: mysql-devel
--> Running transaction check
---> Package mysql-devel.i386 0:5.0.45-7.el5 set to be erased
--> Finished Dependency Resolution
Package Arch Version Repository Size
=============================================================================
Removing:
mysql i386 5.0.45-7.el5 installed 7.3 M
Removing for dependencies:
mysql-devel i386 5.0.45-7.el5 installed 5.6 M
=============================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 2 Package(s)
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : mysql-devel ######################### [1/2]
Erasing : mysql ######################### [2/2]
Dependency Removed: mysql-devel.i386 0:5.0.45-7.el5
Complete!
-bash: mysql: command not found