Solution to the problem that yum installs mysql-server has no available package:
step 1: wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
step 2: rpm -ivh mysql-community-release-el7-5.noarch.rpm
After the above two steps, execute again: yum install mysql-server command can be successfully installed.
Similar Posts:
- CenterOS7: How to Solve error: No package mysql-server available.
- Linux environment installation MYSQL Error: Redirecting to /bin/systemctl start mysqld.service Failed to start mysqld.service: Unit not found.
- Failed to install MySQL server in centos7 (no package available)
- [How to Solve] ImportError: No module named MySQLdb
- Centos MYSQL Install Error: The GPG keys listed for the “MySQL 8.0 Community Server” repository are already installed but they are not correct for this package.
- Python upgrade resulted in an error using yum
- [Solved] error: Can’t connect to MySQL server on ‘localhost:3306’ (10061)
- [Solved] Python import module error: importerror: no module named mysql.connector
- bash:yum:command not found [How to Solve]
- error while loading shared libraries libaio.so.1