Installing Mysql-5.5.52 in the CentOS system error (a)

Source: Internet
Author: User

Installation method: binary free Compiler installation

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/8A/29/wKiom1gpVKSw9oWFAAAZnl_GJk8193.png "title=" MySQL display. png "alt=" Wkiom1gpvksw9owfaaaznl_gjk8193.png "/>


Initialization error

mysql/scripts/mysql_install_db--basedir=/application/mysql/--datadir=/application/mysql/data/--user=mysql

Tips:

/application/mysql//bin/mysqld:error while loading shared libraries:libaio.so.1:cannot open shared object File:no such File or directory


Installation of system tables failed! Examine the logs in

/application/mysql/data/for more information.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8A/29/wKiom1gpVQuQDoImAAEkAlRjdUY215.png "title=" Initialize MySQL error. png "alt=" Wkiom1gpvquqdoimaaekalrjduy215.png "/>


Install dependent packages

[email protected] application]# Yum install-y Libaio libaio-devel


To initialize the database again

[Email protected] application]# mysql/scripts/mysql_install_db--basedir=/application/mysql/--datadir=/ application/mysql/data/--user=mysql

Installing MySQL system tables ...

161114 12:17:35 [Note]/application/mysql//bin/mysqld (mysqld 5.5.52-log) starting as Process 2189 ...

Ok

Filling Help Tables ...

161114 12:17:35 [Note]/application/mysql//bin/mysqld (mysqld 5.5.52-log) starting as Process 2196 ...

Ok



Success!!

This article from "evoices" blog, declined reprint!

Installing Mysql-5.5.52 in the CentOS system error (a)

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.