-
Notifications
You must be signed in to change notification settings - Fork 0
Setting)) Mysql version upgrade
ilgwonPark edited this page Nov 13, 2018
·
1 revision
This wiki introduces how to upgrade mysql version 5.1 to 5.7.
highly recommend to test this process in virtual environment.
mysqldump -uroot -p DB_NAME > dumpfilename.sql
sudo yum remove mysql mysql-server*
sudo rm -rf /var/lib/mysql/*
must copy hue folder since we use cloudera environment.
wget http://dev.mysql.com/get/mysql57-community-release-el6-7.noarch.rpm
yum localinstall mysql57-community-release-el6-7.noarch.rpm
yum install mysql-community-server
/etc/init.d/mysqld start
mysql -uroot -p
password:
mysql>
https://stackoverflow.com/questions/41645309/mysql-error-access-denied-for-user-rootlocalhost
Written by ilgwonPark