CentOS 6.5上安装MariaDB(2)

Total download size: 55 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): MariaDB-5.5.36-centos6-x86_64-client.rpm                                            |  10 MB    04:45   
(2/4): MariaDB-5.5.36-centos6-x86_64-common.rpm                                            |  23 kB    00:00   
(3/4): MariaDB-5.5.36-centos6-x86_64-compat.rpm                                            | 2.7 MB    01:02   
(4/4): MariaDB-5.5.36-centos6-x86_64-server.rpm                                            |  42 MB    17:44   
------------------------------------------------------------------------------------------------------------------
Total                                                                              40 kB/s |  55 MB    23:34   
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
Retrieving key from https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
Importing GPG key 0x1BB943DB:
 Userid: "Daniel Bartholomew (Monty Program signing key) <dbart@askmonty.org>"
 From  : https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : MariaDB-compat-5.5.36-1.el6.x86_64                                                            1/7
  Installing : MariaDB-common-5.5.36-1.el6.x86_64                                                            2/7
Error in PREIN scriptlet in rpm package MariaDB-server-5.5.36-1.el6.x86_64

******************************************************************
A MySQL or MariaDB server package (mysql-server-5.1.71-1.el6.x86_64) is installed.

The current MariaDB server package is provided by a different
vendor (CentOS) than Monty Program AB.  Some files may be installed
to different locations, including log files and the service
startup script in /etc/init.d/.

Upgrading directly from MySQL 5.1 to MariaDB 5.5 may not
be safe in all cases.  A manual dump and restore using mysqldump is
recommended.  It is important to review the MariaDB manual's Upgrading
section for version-specific incompatibilities.

A manual upgrade is required.

- Ensure that you have a complete, working backup of your data and my.cnf
  files
- Shut down the MySQL server cleanly
- Remove the existing MySQL packages.  Usually this command will
  list the packages you should remove:
  rpm -qa | grep -i '^mysql-'

You may choose to use 'rpm --nodeps -ev <package-name>' to remove
  the package which contains the mysqlclient shared library.  The
  library will be reinstalled by the MariaDB-shared package.
- Install the new MariaDB packages supplied by Monty Program AB
- Ensure that the MariaDB server is started
- Run the 'mysql_upgrade' program

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/b11d66e138dea6a34c22f6444a12706f.html