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 * * *