![]() ![]() Now when I try yum install mysql-server.x86_64 I get the following error: Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security I type find / -name mysql and I get /usr/lib64/perl5/auto/DBD/mysql I removed every folder and file associated with MySQL 5.5: yum remove mysql-server I wanted to cleanly remove MySQL 5.5 (I had problems with 5.5 with PHP and Python). ![]() Mysql-community-libs.x86_64 0:5.7.22-1.el6 mysql-community-libs-compat.x86_64 0:5.7.22-1.el6Īnd restore some core files: ~]#cp /etc/my.cnf.I think yum is having problems installing MySQL 5.1 because there is already a pre-existing MySQL 5.5 installation. ~]# rpm -erase -nodeps mysql-commercial-server mysql-commercial-libs-compat mysql-commercial-client mysql-commercial-common mysql-commercial-libsĪnd then use Yum to install the mysql-community packages, at the closest version number I can find: ~]# yum -disablerepo=local-mysql-enterprise install mysql-community-libs-5.6.86_64 mysql-community-common-5.6.86_64 mysql-community-client-5.6.86_64 mysql-community-libs-compat-5.6.86_64 mysql-community-server-5.6.86_64 Use rpm to remove the mysql-commercial-* packages, but don't remove any dependencies. What I ended up doing was a two step process: I couldn't find a way to do this with Yum only. ![]() How can I force Yum to use use a package with an older version number? #Yum install rpm mysql how to#I've tried a couple things, such as specifying the specific version number presented in How to install an older version of php (5.2.17) in Linux?, but that doesn't work in this case: ~]# yum install -quiet mysql-community-server-5.7.86_64 Package mysql-community-server-5.7.86_64 is obsoleted by mysql-commercial-server-5.7.22-1.1.el6.x86_64 which is already ~]# Mysql-community-server.x86_64 5.7.22-1.el6 ~]# yum install -quiet mysql-community-server Yum complains with the error "Package foo-1 is obsoleted by foo-1.1": ~]# yum list -quiet available 'mysql-*-server' Since the Community RPM has version number which is slightly behind the Commercial version, I cannot simply swap out one package for another. The Community RPMs are called mysql-community-something, and the latest available version is '5.7.22-1', which is a single '.1' release behind the Commercial version.The MySQL Enterprise RPMs are called mysql-commercial-something and are at version '5.7.22-1.1'. ![]() I want to migrate this server away from the MySQL Enterprise Server packages to MySQL Community Server packages, with the following specifics: I have a CentOS 6 host running a MySQL server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |