Issues encountered installing MySQL: libaio.so.1 () (64bit) is needed by MySQL * * *

Source: Internet
Author: User

Error message

The following error occurred in installing mysql-server-5.5.25a-1.rhel5.x86_64.rpm in Linux Centeros 64-bit
[Email protected] upload]# RPM-IVH mysql-server-5.5.25a-1.rhel5.x86_64.rpm
error:failed dependencies:
Libaio.so.1 () (64bit) is needed by mysql-server-5.5.25a-1.rhel5.x86_64
Libaio.so.1 (libaio_0.1) (64bit) is needed by mysql-server-5.5.25a-1.rhel5.x86_64
Libaio.so.1 (libaio_0.4) (64bit) is needed by mysql-server-5.5.25a-1.rhel5.x86_64
From the above error message can be seen because the lack of library libaio, so need to install Libaio

Installing libaio-0.3.107-10.el6.x86_64.rpm


http://mirror.centos.org/centos/6/os/x86_64/Packages/libaio-0.3.107-10.el6.x86_64.rpm
After the installation is complete, you can successfully install MYSQL-SERVER-5.5.25A-1.RHEL5.X86_64.RPM

Error message

error:failed dependencies:

/usr/bin/perl is needed by mysql-server-5.6.14-1.linux_glibc2.5.x86_64

error message :
[Email protected] mysql]# mysql-u root-p
Enter Password:
ERROR 1045 (28000): Access denied for user ' root ' @ ' localhost ' (using Password:no)
Workaround:
Method One:
#/etc/init.d/mysql Stop
# Mysqld_safe--user=mysql--skip-grant-tables--skip-networking &
# mysql-u Root MySQL
mysql> UPDATE user SET Password=password (' NewPassword ') where user= ' root ';
mysql> FLUSH privileges;
Mysql> quit
#/etc/init.d/mysql Restart
# mysql-uroot-p
Enter Password: < Enter the newly set password newpassword>

Error message

MySql5.6 Operation times Wrong:You must SET PASSWORD before executing this statementSolvemysql> SET PASSWORD = PASSWORD (' 123456 '); Query OK, 0 rows affected (0.03 sec) mysql> Create database Roger; Query OK, 1 row Affected (0.00 sec) is also mysql> set PASSWORD = PASSWORD (' 123456 '); This sentence reset the password again!

Issues encountered installing MySQL: libaio.so.1 () (64bit) is needed by MySQL * * *

Related Article

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.