Skip to content
Tags

MySQL Installation instruction for Linux Operating System

June 7, 2010

mysql

Dowload MySQL RPM files from http://dev.mysql.com/downloads/mysql/5.1.html

Download the following files from the “Linux x86 generic RPM (dynamically linked) downloads” option.

1. Server
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.

Advertisements

From → MySQL

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: