Install MySQL server on CentOS 6.3

1) Install CentOS 6.3 -> How to install CentOS 6.3 ;

2) Create a Local Yum Repository in CentOS 6.3 -> Create a Local Yum Repository in CentOS 6.3 in 5 steps

3) Run yum install mysql and mysql-server

[root@localhost ~]# yum install mysql

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

Setting up Install Process

Resolving Dependencies

–> Running transaction check

—> Package mysql.i686 0:5.1.61-4.el6 will be installed

–> Finished
Dependency Resolution

Dependencies Resolved

======================================================================

PackageArchVersionRepositorySize

======================================================================

Installing: mysqli6865.1.61-4.el6base892 k

Transaction Summary

======================================================================

Install1 Package(s)

Total download size: 892 k

Installed size: 2.3 M

Is this ok [y/N]:

Is this ok [y/N]: y

Downloading Packages:

mysql-5.1.61-4.el6.i686.rpm | 892 kB 00:00

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : mysql-5.1.61-4.el6.i686

1/1

Verifying: mysql-5.1.61-4.el6.i686

1/1

Installed:

mysql.i686 0:5.1.61-4.el6

Complete!

[root@localhost ~]# yum info mysql

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

Installed Packages

Name: mysql

Arch: i686

Version: 5.1.61

Release: 4.el6

Size: 2.3 M

Repo: installed

From repo: base

Summary: MySQL client programs and shared libraries

URL: http://www.mysql.com

License: GPLv2 with exceptions

Description : MySQL is a multi-user, multi-threaded SQL database server. MySQL is a : client/server implementation consisting of a server daemon (mysqld) : and many different client programs and libraries. The base package : contains the standard MySQL client programs and generic MySQL files.

=====================

[root@localhost ~]# yum install mysql-server

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

Setting up Install Process

Resolving Dependencies

–> Running transaction check

—> Package mysql-server.i686 0:5.1.61-4.el6 will be installed

–> Processing Dependency: perl-DBI for package: mysql-server-5.1.61-4.el6.i686

–> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.61-4.el6.i686

–> Processing Dependency: perl(DBI) for package: mysql-server-5.1.61-4.el6.i686

–> Running transaction check

—> Package perl-DBD-MySQL.i686 0:4.013-3.el6 will be installed

—> Package perl-DBI.i686 0:1.609-4.el6 will be installed

–> Finished Dependency Resolution

Dependencies Resolved

======================================================================

PackageArchVersionRepositorySize

======================================================================

Installing:

mysql-server i6865.1.61-4.el6 base8.8 M

Installing for dependencies:

perl-DBD-MySQLi6864.013-3.el6base134 k

perl-DBIi6861.609-4.el6base705 k

Transaction Summary

======================================================================

Install3 Package(s)

Total download size: 9.6 M

Installed size: 26 M

Is this ok [y/N]:

Is this ok [y/N]: y

Downloading Packages:

(1/3): mysql-server-5.1.61-4.el6.i686.rpm | 8.8 MB00:00

(2/3): perl-DBD-MySQL-4.013-3.el6.i686.rpm| 134 kB00:00

(3/3): perl-DBI-1.609-4.el6.i686.rpm| 705 kB 00:00

———————————————————————-

Total 15 MB/s | 9.6 MB00:00

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : perl-DBI-1.609-4.el6.i686
1/3

Installing : perl-DBD-MySQL-4.013-3.el6.i686
2/3

Installing : mysql-server-5.1.61-4.el6.i686

3/3

Verifying: mysql-server-5.1.61-4.el6.i686
1/3

Verifying: perl-DBD-MySQL-4.013-3.el6.i686

2/3

Verifying: perl-DBI-1.609-4.el6.i686
3/3

Installed:
mysql-server.i686 0:5.1.61-4.el6

Dependency Installed:

perl-DBD-MySQL.i686 0:4.013-3.el6

perl-DBI.i686 0:1.609-4.el6

Complete!

[root@localhost ~]# yum info mysql-server

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

Installed Packages

Name: mysql-server

Arch: i686

Version: 5.1.61

Release: 4.el6

Size: 24M

Repo: installed

From repo: base

Summary: The MySQL server and related files

URL: http://www.mysql.com

License: GPLv2 with exceptions

Description : MySQL is a multi-user, multi-threaded SQL database server. MySQL is a : client/server implementation consisting of a server daemon (mysqld) : and many different client programs and libraries. This package contains : the MySQL server and some accompanying files and directories.

Done!!!

Web Directory
Blogs Directory
Ldmstudio Directory

Leave a Reply