How to troubleshoot MySQL5.6 installation in CentOS

Source: Internet
Author: User
As required by the project, you must use the latest MySQL5.6 Community version, and use CentOS6.3 as the operating system. The following error is reported during installation: fileusrsharemys

As required by the project, you must use the latest MySQL5.6 Community version, and use CentOS6.3 as the operating system. The following error is reported during installation: file/usr/share/mys

As required by the project, you must use the latest MySQL5.6 Community version, and use CentOS6.3 as the operating system.

First: Execute

Yum install mysql-server-y

The following error is reported during installation:

File/usr/share/mysql/charsets/geostd8.xml conflicts between attempted instils of mysql-community-common-5.6.15-1.el6.x86_64 and mysql-libs-5.1.71-1.el6.x86_64

File/usr/share/mysql/charsets/greek. xml conflicts between attempted instals of mysql-community-common-5.6.15-1.el6.x86_64 and mysql-libs-5.1.71-1.el6.x86_64

File/usr/share/mysql/charsets/hebrew. xml conflicts between attempted instils of mysql-community-common-5.6.15-1.el6.x86_64 and mysql-libs-5.1.71-1.el6.x86_64

Because the system has been installed for a long time and the plug-in package is not updated, the new version of MySQL5.6 is not supported,

Step 2: perform the following operations to update the system plug-in package

Yum update

The same error is reported after the update. After reading the relevant information, it is caused by a package conflict! Remove the conflicting libs package and install it.

Step 3: remove the mysql-libs-5.1 package

Yum-y remove mysql-libs -*

Step 4: Re-execute the installation script

Yum install mysql-server-y

After successful installation: Initialize the mysql database

Service mysqld start

Set the user name and password:

Mysqladmin-u root password 'Password'

Related reading:

How to install MySQL 6.4 in RHEL 5.6 (i386)

Linux website architecture series-Apache-deployment

Complete MySQL installation and master-slave dual-machine configuration

Install MySQL database in rpm mode on RHEL6 Platform

RedHat 6.3 MySQL-server-5.6.13-1.el6.x86_64.rpm Installation

Install MySQL5.6 and Python-MySQLdb in the source code of Ubuntu 12.04

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.