Installing MySQL 5.6 on CentOS Using YUM
Friday, July 4, 2014
Installing MySQL 5.6 on CentOS Using YUM :-
Below Steps to install MySQL 5.6 on CentOS :-
You will need to be running as a root user.
Step 1. Need to remove the default mysql-libs that come with CentOS and replace them with the ones from Oracle.
> yum remove mysql-libs
Step 2. clean up the cache
> yum clean dbcache
Step 3. Get the latest release from Oracle
> wget http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm/from/http://repo.mysql.com/
Step 4. Install the release
> yum localinstall mysql-community-release-el6-*.noarch.rpm
Step 5. Install the MySQL Community Server
> yum install mysql-community-server
Step 6. Start MySQL 5.6
> service mysqld start
Step 7. Set it up so that MySQL starts automatically on reboot:
> chkconfig mysqld on
> chkconfig --list mysqld
0 comments:
Post a Comment