1 like 0 dislike
in Education & Reference by (850 points)
How to Install MySQL 5.7 from Official Yum Repositories in Centos6.8

1 Answer

1 like 0 dislike
selected by
Best answer

To get started, go to http://dev.mysql.com/downloads/repo/, and click on download link for Red Hat Enterprise Linux 6 / Oracle Linux 6:

Log into your server and then download this file. Below is an example URL-- you may want to double-check there is not a later version of the repo available:

Install the repository from the local file:

wget http://dev.mysql.com/get/mysql57-community-release-el6-11.noarch.rpm
yum install mysql57-community-release-el6-11.noarch.rpm

You now have the official repository installed on your server, but with no software installed yet. The repository includes the MySQL Server, the MySQL Workbench administration tool and the ODBC driver. Let's install the MySQL Server:

yum install mysql-community-server

Start MySQL:

service mysqld start

chkconfig mysqld on
chkconfig --list mysqld


[[email protected] src]# mysql -V
mysql  Ver 14.14 Distrib 5.7.19, for Linux (x86_64) using  EditLine wrapper

Related questions

0 like 0 dislike
1 answer 103 views
1 like 0 dislike
1 answer 163 views
0 like 0 dislike
1 answer 154 views
1 like 0 dislike
1 answer 361 views
1 like 0 dislike
1 answer 204 views
2 like 0 dislike
0 answers 90 views
0 like 0 dislike
1 answer 122 views
0 like 0 dislike
1 answer 123 views
2 like 0 dislike
1 answer 289 views

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points