mysql-server

database/MYSQL 2017. 3. 23. 16:26
반응형



$ rpm -qa |grep mysql
mysql-libs-5.1.73-7.el6.x86_64

$ wget ftp://rpmfind.net/linux/centos/6.8/os/x86_64/Packages/mysql-5.1.73-7.el6.x86_64.rpm


$ ls
mysql-5.1.73-7.el6.x86_64.rpm


$ rpm -ivh mysql-5.1.73-7.el6.x86_64.rpm
준비 중...               ########################################### [100%]
   1:mysql                  ########################################### [100%]


$ rpm -qa | grep mysql
mysql-libs-5.1.73-7.el6.x86_64
mysql-5.1.73-7.el6.x86_64


$ yum install mysql-server

Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.navercorp.com
 * extras: mirror.navercorp.com
 * updates: mirror.navercorp.com
base                                                                                                                                                         | 3.7 kB     00:00    
extras                                                                                                                                                       | 3.4 kB     00:00    
updates                                                                                                                                                      | 3.4 kB     00:00    
updates/primary_db                                                                                                                                           | 5.4 MB     00:02    
Resolving Dependencies
--> Running transaction check
---> Package mysql-server.x86_64 0:5.1.73-8.el6_8 will be installed
--> Processing Dependency: mysql = 5.1.73-8.el6_8 for package: mysql-server-5.1.73-8.el6_8.x86_64
--> Processing Dependency: perl-DBI for package: mysql-server-5.1.73-8.el6_8.x86_64
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.73-8.el6_8.x86_64
--> Processing Dependency: perl(DBI) for package: mysql-server-5.1.73-8.el6_8.x86_64
--> Running transaction check
---> Package mysql.x86_64 0:5.1.73-7.el6 will be updated
---> Package mysql.x86_64 0:5.1.73-8.el6_8 will be an update
--> Processing Dependency: mysql-libs = 5.1.73-8.el6_8 for package: mysql-5.1.73-8.el6_8.x86_64
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
---> Package perl-DBI.x86_64 0:1.609-4.el6 will be installed
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.1.73-7.el6 will be updated
---> Package mysql-libs.x86_64 0:5.1.73-8.el6_8 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================
 Package                                        Arch                                   Version                                        Repository                               Size
====================================================================================================================================================================================
Installing:
 mysql-server                                   x86_64                                 5.1.73-8.el6_8                                 updates                                 8.6 M
Installing for dependencies:
 perl-DBD-MySQL                                 x86_64                                 4.013-3.el6                                    base                                    134 k
 perl-DBI                                       x86_64                                 1.609-4.el6                                    base                                    705 k
Updating for dependencies:
 mysql                                          x86_64                                 5.1.73-8.el6_8                                 updates                                 895 k
 mysql-libs                                     x86_64                                 5.1.73-8.el6_8                                 updates                                 1.2 M

Transaction Summary
====================================================================================================================================================================================
Install       3 Package(s)
Upgrade       2 Package(s)

Total download size: 12 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): mysql-5.1.73-8.el6_8.x86_64.rpm                                                                                                                       | 895 kB     00:00    
(2/5): mysql-libs-5.1.73-8.el6_8.x86_64.rpm                                                                                                                  | 1.2 MB     00:00    
(3/5): mysql-server-5.1.73-8.el6_8.x86_64.rpm                                                                                                                | 8.6 MB     00:02    
(4/5): perl-DBD-MySQL-4.013-3.el6.x86_64.rpm                                                                                                                 | 134 kB     00:00    
(5/5): perl-DBI-1.609-4.el6.x86_64.rpm                                                                                                                       | 705 kB     00:00    
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                               3.3 MB/s |  12 MB     00:03    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Updating   : mysql-libs-5.1.73-8.el6_8.x86_64                                                                                                                                 1/7
  Installing : perl-DBI-1.609-4.el6.x86_64                                                                                                                                      2/7
  Installing : perl-DBD-MySQL-4.013-3.el6.x86_64                                                                                                                                3/7
  Updating   : mysql-5.1.73-8.el6_8.x86_64                                                                                                                                      4/7
  Installing : mysql-server-5.1.73-8.el6_8.x86_64                                                                                                                               5/7
  Cleanup    : mysql-5.1.73-7.el6.x86_64                                                                                                                                        6/7
  Cleanup    : mysql-libs-5.1.73-7.el6.x86_64                                                                                                                                   7/7
  Verifying  : perl-DBD-MySQL-4.013-3.el6.x86_64                                                                                                                                1/7
  Verifying  : mysql-server-5.1.73-8.el6_8.x86_64                                                                                                                               2/7
  Verifying  : perl-DBI-1.609-4.el6.x86_64                                                                                                                                      3/7
  Verifying  : mysql-5.1.73-8.el6_8.x86_64                                                                                                                                      4/7
  Verifying  : mysql-libs-5.1.73-8.el6_8.x86_64                                                                                                                                 5/7
  Verifying  : mysql-5.1.73-7.el6.x86_64                                                                                                                                        6/7
  Verifying  : mysql-libs-5.1.73-7.el6.x86_64                                                                                                                                   7/7

Installed:
  mysql-server.x86_64 0:5.1.73-8.el6_8                                                                                                                                             

Dependency Installed:
  perl-DBD-MySQL.x86_64 0:4.013-3.el6                                                         perl-DBI.x86_64 0:1.609-4.el6                                                       

Dependency Updated:
  mysql.x86_64 0:5.1.73-8.el6_8                                                          mysql-libs.x86_64 0:5.1.73-8.el6_8                                                        

Complete!


반응형
Posted by 공간사랑
,