How to Install MySQL 8.0 on Linux CentOS
Below are the steps to install MySQL 8.0.13 Server on CentOS Linux.Download and add MySQL Yum Repository to Linux Repository
wget https://repo.mysql.com/mysql80-community-release-el7-1.noarch.rpm
Install the downloaded package by using below command
yum localinstall mysql80-community-release-el7-1.noarch.rpm
Verify that the MySQL Yum repository has been added successfully
yum repolist enabled | grep "mysql.*-community.*"
Install latest MySQL that is going to be MySQL 8.0
yum install mysql-community-server
Start MySQL Server
sudo service mysqld start
Secure MySQL Server
When MySQL 8.0 version is installed, temporary password for root is created in /var/log/mysqld.log
grep 'temporary password' /var/log/mysqld.log
Get the password and then run below command. It will ask you to provide the password. Provide the temporary password and then change the root password.
sudo mysql_secure_installation
Your installation of MySQL 8.0 Server is completed by CentOS. To verify MySQL Server is running , run below command.
sudo systemctl status mysqldIt should show you that the mysqld service is active and running.
To login to MySQL server, you can use below command.
mysql -u root -pProvide the root password and you are all good to work on MySQL Server.
How to Install MySQL Server 8.0 on Linux CentOS
Mua vé máy bay tại Aivivu, tham khảo
ReplyDeletegiá vé máy bay đi Mỹ khứ hồi
lich bay tu my ve vietnam
vé máy bay từ đức về sài gòn
vé máy bay nga về việt nam
giá vé máy bay từ anh về việt nam
chuyến bay từ pháp về việt nam hôm nay
danh sách khách sạn cách ly tại tphcm