centos 7 64 rpmインストールmysql 5.7.10
,
1. mysql-5.7.10-1.el7.x86_64.rpm-bundle.tar
2. tar -xvf mysql-5.7.10-1.el7.x86_64.rpm-bundle.tar
3. rpm -e --nodeps mariadb-libs-1:5.5.35-3.el7.x86_64
4. rpm -ivh mysql-community-common-5.7.10-1.el7.x86_64.rpm
5. rpm -ivh mysql-community-libs-5.7.10-1.el7.x86_64.rpm
6. rpm -ivh mysql-community-embedded-5.7.10-1.el7.x86_64.rpm
7. rpm -ivh mysql-community-devel-5.7.10-1.el7.x86_64.rpm
8. rpm -ivh mysql-community-embedded-devel-5.7.10-1.el7.x86_64.rpm
9. rpm -ivh mysql-community-client-5.7.10-1.el7.x86_64.rpm
10. rpm -ivh mysql-community-server-5.7.10-1.el7.x86_64.rpm
11. mysql_install_db --datadir=/var/lib/mysql
12. mysqld --initialize
13. chown -R mysql:mysql /var/lib/mysql
14. service mysqld start
15. service mysqld status
16. vi /root/.mysql_secret
17. mysql -uroot -p
18. set password=password('111111');
19. use mysql;
20. update user set host = '%' where user ='root';
21. flush privileges;
本文は“夢のために奮闘します”のブログから出て、転載して作者と連絡してください!