Lets talk about how to install mysql-server on CentOS. I wanted to install it and following describes the steps I have followed.
sudo yum install mysql-server
But it gave an error :(
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
I didn't give up. I have checked the reasons for why I was getting that particulate error and found out that, it was because outdated certificate. So I used the command for upgrading the certificate.
sudo yum upgrade ca-certificates --disablerepo=epel
And tried the previous command for installing again and it worked. :) I checked it by starting the mysql service like this.
sudo service mysqld start
Cheers!
"do good and good will come to you!"
No comments:
Post a Comment