MySQL Installation


  • Installing MySQL using Yum

# yum -y install mysql*

Start the Apache httpd service and make it start automatically on every reboot
# /etc/init.d/mysqld start
# service mysqld start
# chkconfig mysqld on
Make sure Apache’s Web service is accessible through a browser]

# mysql

  • Installing MySQL from Source Code

-> Download the MySQL package
# cd /usr/src/
# wget

-> Verify the MD5 checksum
After you have downloaded a MySQL package, you should make sure that its MD5 checksum matches the one provided on the MySQL download pages.

Verify it using md5sum command
# md5sum mysql-5.1.34.tar.gz
42493187729677cf8f77faeeebd5b3c2 mysql-5.1.34.tar.gz

-> Extract the downloaded package
# tar xvfz mysql-5.1.34.tar.gz
# cd mysql-5.1.34

-> Configure MySQL Source
# ./configure –prefix=/usr/local/mysql

–prefix specifies the location where to install MySQL

-> Compiling the source
# make

-> Installing MySQL
# make install
This will install MySQL Database software to —PREFIX directory.

View original post 511 more words


Leave a Reply

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

You are commenting using your 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