How To Install Mysql 8.0 on Centos 7 Server2 min read
In this tutorial how to install mysql 8 on Centos 7 server. 100% working guide for your. So lets go install mysql 8.0 on Centos 7 server.
Step #01: Check server version using below command.
cat /etc/redhat-release yum -y update yum -y install wget
Step #02: Download Mysql8.0 community release.
yum localinstall https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
Step #03:Must be edit Then Edit mysql-community.repo file from mysql8.0 section. Open below file using any editor.
Then replace below text on this section gpgkey=file:///.............. [mysql80-community]
Step #04: Now run Mysql 8.0 installation script.
yum -y install mysql-server
Then service start and enable using below commmand.
systemctl start mysqld systemctl enable mysqld
Step #05: Find mysql root user temporary password using below command.
grep 'temporary password' /var/log/mysqld.log
Then going to mysql terminal for reset root password using temporary password.
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY '[email protected]@123'; mysql> flush privileges; mysql> \q
Then check mysql 8.0 status using below command.
systemctl status mysqld
If any error so please see my YouTube channel for for details. Please don’t forget subscribe my channel and share to your friends.
- How To Install Odoo 16 on Ubuntu 22.04 - May 14, 2023
- 12 Steps to Organize Photos on Your Computer - March 20, 2023
- 9 Ways to Speed Up Your MacBook Yosemite - February 21, 2023
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!