MYSQL Installation Steps on LINUX
Dowload MySQL RPM files from Clickhere
Download the following files from the “Linux x86 generic RPM (dynamically linked) downloads” option.
2. Client programs
3. Shared client libraries
4. Libraries and header files
Now as root, install the rpm’s:
rpm -i MySQL-server-5.1.20-0.i386.rpm
rpm -i MySQL-client-5.1.20-0.i386.rpm
rpm -i MySQL-devel-5.1.20-0.i386.rpm
rpm -i MySQL-shared-5.1.20-0.i386.rpm
(If you already have an earlier version of MySQL installed, you should use “rpm -U” instead of “rpm -i”, and you may need to add “–nodeps” to several of the rpm commands. But don’t worry about it unless “rpm -i” complains!).
Now enter the command to set the User name and Passwords
# mysqladmin -u root
Now type mysql
you will get
Mysql> command prompt.
Now you can do your work.