SlideShare a Scribd company logo
Upgrading MySQL 5.5.30 to 5.6.10 on Linux:
Step: 1First downloaded particular version of MySQL and copy in to mount pointin this
scenario we have 5.5.30 –log version on Linux
Now we need to upgrade 5.6.10 in Linuxversion:
Before upgrading,
Step 2: We now have our rpm’s to upgrade our server to MySQL 5.6.10
Before we proceed further, stop existing MySQL Server. Run the following command to
stop your server [Assuming your init.d start-up script in named as MySQL, you can check
that in /etc/init.d directory]
Servicemysql stop
Step 3:Now move the data directory under /var/lib/mysqlto /var/lib/mysql_55.
Run the following command in order to move. [If you used custom path when you installed
MySQL 5.5 then change below command appropriately]
mv/var/lib/mysql/ /var/lib/mysql_55
Step 4:Now you can securely remove the existing installation of MySQL 5.5 rpm’s from
your server, before we install the new MySQL 5.6 database engine. Check what existing
packages are installed on our existing database server that corresponds to MySQL 5.5
engine. To do that runs the following command
Rpm–qa|grep–I mysql
Step 5:Running the above command returns the following packages as that are currently
installed in existing database server. Now remove them one by one from server in order
for us to install MySQL 5.6 engine.
To remove we can simply run the following
Yum remove MySQL-server-5.5.30-1.rhel5 MySQL-client-5.5.30-1.rhel5 MySQL-shared-
5.5.30-1.rhel
Step 6:Now you have remove all MySQL 5.5 related libraries that correspond to MySQL 5.5
database engine. Nowlet’s install MySQL 5.6.10 from the rpm’s that we downloaded
earlier. To install them just run the following commands.
Rpm–ivhMySQL-shared-5.6.10-1.rhel5.rpm
Rpm-ivhMySQL-client-5.6.10-1.el6.rhel5.rpm
Rpm–ivhMySQL-server-5.6.10-1.el6.rhel5.rpm
Log file:
[root@INVIRH54DB3 mysql]# rpm -ivh MySQL-server-5.6.10-1.rhel5.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-server ########################################### [100%]
2013-04-12 12:27:10 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated.
Please use --explicit_defaults_for_timestamp server option (see documentation for more
details).
2013-04-12 12:27:10 2b96105a53a0 InnoDB: Warning: Using
innodb_additional_mem_pool_size is DEPRECATED. This option
may be removed in future releases, together with the option innodb_use_sys_malloc and
with the InnoDB'sinternal memory allocator.
2013-04-12 12:27:10 6419 [Note] InnoDB: The InnoDB memory heap is disabled
2013-04-12 12:27:10 6419 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-04-12 12:27:10 6419 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-04-12 12:27:10 6419 [Note] InnoDB: CPU does not support crc32 instructions
2013-04-12 12:27:10 6419 [Note] InnoDB: Using Linux native AIO
2013-04-12 12:27:10 6419 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2013-04-12 12:27:10 6419 [Note] InnoDB: Completed initialization of buffer pool
2013-04-12 12:27:10 6419 [Note] InnoDB: The first specified data file
/var/lib/mysql/ibdata1 did not exist: a new database to be created!
2013-04-12 12:27:10 6419 [Note] InnoDB: Setting file /var/lib/mysql/ibdata1 size to 10
MB2013-04-12 12:27:10 6419 [Note] InnoDB: Database physically writes the file full:
wait...2013-04-12 12:27:10 6419 [Note] InnoDB: Setting log file
/var/lib/mysql/ib_logfile101 size to 5 MB2013-04-12 12:27:10 6419 [Note] InnoDB: Setting
log file /var/lib/mysql/ib_logfile1 size to 5 MB2013-04-12 12:27:10 6419 [Note] InnoDB:
Renaming log file /var/lib/mysql/ib_logfile101 to /var/lib/mysql/ib_logfil
e02013-04-12 12:27:10 6419 [Warning] InnoDB: New log files created, LSN=45781
2013-04-12 12:27:10 6419 [Note] InnoDB: Doublewrite buffer not found: creating new
2013-04-12 12:27:10 6419 [Note] InnoDB: Doublewrite buffer created
2013-04-12 12:27:10 6419 [Note] InnoDB: 128 rollback segment(s) are active.
2013-04-12 12:27:10 6419 [Warning] InnoDB: Creating foreign key constraint system
tables.2013-04-12 12:27:10 6419 [Note] InnoDB: Foreign key constraint system tables
created2013-04-12 12:27:10 6419 [Note] InnoDB: Creating tablespace and datafile system
tables.2013-04-12 12:27:10 6419 [Note] InnoDB: Tablespace and datafile system tables
created.2013-04-12 12:27:10 6419 [Note] InnoDB: Waiting for purge to start2013-04-12
12:27:10 6419 [Note] InnoDB: 1.2.10 started; log sequence number 0
A random root password has been set. You will find it in '/root/.mysql_secret'.
2013-04-12 12:27:10 6419 [Note] Binlog end
2013-04-12 12:27:10 6419 [Note] InnoDB: FTS optimize thread exiting.
2013-04-12 12:27:10 6419 [Note] InnoDB: Starting shutdown...
2013-04-12 12:27:12 6419 [Note] InnoDB: Shutdown completed; log sequence number
16259842013-04-12 12:27:12 0 [Warning] TIMESTAMP with implicit DEFAULT value is
deprecated. Please use --explicit_defaults_for_timestamp server option (see
documentation for more details).2013-04-12 12:27:12 2ba3a48293a0 InnoDB: Warning:
Using innodb_additional_mem_pool_size is DEPRECATED. This option
may be removed in future releases, together with the option innodb_use_sys_malloc and
with the InnoDB'sinternal memory allocator.2013-04-12 12:27:12 6442 [Note] InnoDB:
The InnoDB memory heap is disabled2013-04-12 12:27:12 6442 [Note] InnoDB: Mutexes
and rw_locks use GCC atomic built-ins 2013-04-12 12:27:12 6442 [Note] InnoDB:
Compressed tables use zlib 1.2.32013-04-12 12:27:12 6442 [Note] InnoDB: CPU does not
support crc32 instructions
2013-04-12 12:27:12 6442 [Note] InnoDB: Using Linux native AIO
2013-04-12 12:27:12 6442 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2013-04-12 12:27:12 6442 [Note] InnoDB: Completed initialization of buffer pool
2013-04-12 12:27:12 6442 [Note] InnoDB: Highest supported file format is Barracuda.
2013-04-12 12:27:12 6442 [Note] InnoDB: 128 rollback segment(s) are active.
2013-04-12 12:27:12 6442 [Note] InnoDB: Waiting for purge to start
2013-04-12 12:27:12 6442 [Note] InnoDB: 1.2.10 started; log sequence number 1625984
2013-04-12 12:27:12 6442 [Note] Binlog end
2013-04-12 12:27:12 6442 [Note] InnoDB: FTS optimize thread exiting.
2013-04-12 12:27:12 6442 [Note] InnoDB: Starting shutdown...
2013-04-12 12:27:14 6442 [Note] InnoDB: Shutdown completed; log sequence number
1625994
A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER !
You will find that password in '/root/.mysql_secret'.
You must change that password on your first connect,
No other statement but 'SET PASSWORD' will be accepted.
See the manual for the semantics of the 'password expired' flag.
Also, the account for the anonymous user has been removed.
In addition, you can run:
/usr/bin/mysql_secure_installation
Which will also give you the option of removing the test database?
This is strongly recommended for production servers.
See the manual for more instructions.
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
WARNING: Found existing config file /usr/my.cnf on the system.
Because this file might be in use, it was not replaced,
But was used in bootstrap (unless you used --defaults-file)
And when you later start the server.
The new default config file was created as /usr/my-new.cnf,
Please compare it with your file and take the changes you need.
WARNING: Default config file /etc/my.cnf exists on the system
This file will be read by default by the MySQL server
If you do not want to use this, either remove it, or use the
--defaults-file argument to mysqld_safe when starting the server
Step 7:We are now done with installing MySQL 5.6 server. Now before we start the server
we need to move back the data directory that we moved earlier and put back to where it
was. I will be copying back rather than moving as a failsafe if the upgrade fails. Then we
still have the original data directory in place to fix things up or install MySQL 5.5 server
backs to its place for rolling back the upgrade process.
Mv/var/lib/mysql /var/lib/mysql_56_clean
Cp-R/var/lib/mysql_55 /var/lib/mysql
Step 8:Now we have our data directory back to its place. Right now we are in a state that
our engine libraries correspond to MySQL 5.6.10 and our data directory is of MySQL 5.5.
We need to upgrade our data directory to be compatible with MySQL 5.6 database engine.
In order to proceed further we need to start the database engine now.
Servicemysql start
Step 9:There will be an error starting the database engine as shown above:
Starting MySQL.ERROR! The server quit without updating PID file (/var/lib/mysql/open
sourcedbms.pid)
Database engine will fail to start as permissions on data directory are wrong. To fix that
run the following command.
Chown-R mysql:mysql/var/lib/mysql
Step 10: Now try starting the database server again with same command.
Servicemysql start
And you should be able to successfully start it. [If you did not, you might have data
directories installed in a different path or custom config file paths etc., check you database
logs and see if those tell something about it. Please put that in this blog comments and I
will try to solve that if possible based on my understanding]
Step 11:Now let’s upgrade the data directories to be compatible with MySQL 5.6 engine to
play nice with this new engine. To upgrade we need to run mysql_upgrade. This utility
checks your tables, and attempts to repair them if necessary. It also updates your grant
tables to make sure that they have the current structure so that you can take advantage of
any new capabilities. Please use an existing super user that you have inyour database [5.5]
engine to run this utility. Please change the host/user/password according to your
parameters/settings.
mysql_upgrade –hHostname –u root-p
Here password is mysql
Step 12:Mysql_upgrade utility should start fixing your existing tables. Now you have
successfully updated your data directory as well. This completes full upgrade of MySQL 5.5
database server to MySQL 5.6 database server. Try connecting from any existing client and
you should be able to connect successfully to this database server.
Note:There are certainly a lot of config parameter changes / feature changes in MySQL 5.6
database version. I highly recommend going through those new welcome additions in
MySQL 5.6 version and tune your database server accordingly [Also go through Server
Administration / Security areas from 5.6 Manual for good understanding]. Also this
upgrade is a lot straight forward as I did not have to deal with existing server config
parameters, custom paths etc., I would say think through this tutorial and act according to
your environment/needs.
Before you proceed to do this on your production servers make sure that you block 3306
[Or whatever port your database server runs on] port from your iptables and test this
process in pre-production environments at-least couple of times.Last but not least make
sure that this new MySQL server is enabled to auto start when server restarts.
What's New in MySQL 5.6?
http://dev.mysql.com/tech-resources/articles/whats-new-in-mysql-5.6.html

More Related Content

What's hot

MySQL8.0_performance_schema.pptx
MySQL8.0_performance_schema.pptxMySQL8.0_performance_schema.pptx
MySQL8.0_performance_schema.pptx
NeoClova
 
MySQL 5.7 - What's new and How to upgrade
MySQL 5.7 - What's new and How to upgradeMySQL 5.7 - What's new and How to upgrade
MySQL 5.7 - What's new and How to upgrade
Abel Flórez
 
Meb Backup & Recovery Performance
Meb Backup & Recovery PerformanceMeb Backup & Recovery Performance
Meb Backup & Recovery Performance
Keith Hollman
 
Pluggable database 3
Pluggable database 3Pluggable database 3
Pluggable database 3
Osama Mustafa
 
MySQL's new Secure by Default Install -- All Things Open October 20th 2015
MySQL's new Secure by Default Install -- All Things Open October 20th 2015MySQL's new Secure by Default Install -- All Things Open October 20th 2015
MySQL's new Secure by Default Install -- All Things Open October 20th 2015
Dave Stokes
 
Pluggable database tutorial 2
Pluggable database tutorial 2Pluggable database tutorial 2
Pluggable database tutorial 2
Osama Mustafa
 
Percona Xtrabackup - Highly Efficient Backups
Percona Xtrabackup - Highly Efficient BackupsPercona Xtrabackup - Highly Efficient Backups
Percona Xtrabackup - Highly Efficient Backups
Mydbops
 
MySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and DevelopersMySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and Developers
Ronald Bradford
 
MySQL 5.6 config 優化
MySQL 5.6 config 優化MySQL 5.6 config 優化
MySQL 5.6 config 優化
Alexis Li
 
Maxscale_메뉴얼
Maxscale_메뉴얼Maxscale_메뉴얼
Maxscale_메뉴얼
NeoClova
 
Mysql high availability and scalability
Mysql high availability and scalabilityMysql high availability and scalability
Mysql high availability and scalability
yin gong
 
MySQL Backup and Recovery Essentials
MySQL Backup and Recovery EssentialsMySQL Backup and Recovery Essentials
MySQL Backup and Recovery Essentials
Ronald Bradford
 
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
Insight Technology, Inc.
 
MySQL PHP native driver : Advanced Functions / PHP forum Paris 2013
 MySQL PHP native driver  : Advanced Functions / PHP forum Paris 2013   MySQL PHP native driver  : Advanced Functions / PHP forum Paris 2013
MySQL PHP native driver : Advanced Functions / PHP forum Paris 2013
Serge Frezefond
 
MySQL Replication: Demo Réplica en Español
MySQL Replication: Demo Réplica en EspañolMySQL Replication: Demo Réplica en Español
MySQL Replication: Demo Réplica en Español
Keith Hollman
 
Introduction to MariaDB MaxScale
Introduction to MariaDB MaxScaleIntroduction to MariaDB MaxScale
Introduction to MariaDB MaxScale
I Goo Lee
 
MySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online RecoveryMySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online Recovery
Keith Hollman
 
Getting started with my sql
Getting started with my sqlGetting started with my sql
Getting started with my sql
Web Sky
 
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
Insight Technology, Inc.
 
My two cents about Mysql backup
My two cents about Mysql backupMy two cents about Mysql backup
My two cents about Mysql backup
Andrejs Vorobjovs
 

What's hot (20)

MySQL8.0_performance_schema.pptx
MySQL8.0_performance_schema.pptxMySQL8.0_performance_schema.pptx
MySQL8.0_performance_schema.pptx
 
MySQL 5.7 - What's new and How to upgrade
MySQL 5.7 - What's new and How to upgradeMySQL 5.7 - What's new and How to upgrade
MySQL 5.7 - What's new and How to upgrade
 
Meb Backup & Recovery Performance
Meb Backup & Recovery PerformanceMeb Backup & Recovery Performance
Meb Backup & Recovery Performance
 
Pluggable database 3
Pluggable database 3Pluggable database 3
Pluggable database 3
 
MySQL's new Secure by Default Install -- All Things Open October 20th 2015
MySQL's new Secure by Default Install -- All Things Open October 20th 2015MySQL's new Secure by Default Install -- All Things Open October 20th 2015
MySQL's new Secure by Default Install -- All Things Open October 20th 2015
 
Pluggable database tutorial 2
Pluggable database tutorial 2Pluggable database tutorial 2
Pluggable database tutorial 2
 
Percona Xtrabackup - Highly Efficient Backups
Percona Xtrabackup - Highly Efficient BackupsPercona Xtrabackup - Highly Efficient Backups
Percona Xtrabackup - Highly Efficient Backups
 
MySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and DevelopersMySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and Developers
 
MySQL 5.6 config 優化
MySQL 5.6 config 優化MySQL 5.6 config 優化
MySQL 5.6 config 優化
 
Maxscale_메뉴얼
Maxscale_메뉴얼Maxscale_메뉴얼
Maxscale_메뉴얼
 
Mysql high availability and scalability
Mysql high availability and scalabilityMysql high availability and scalability
Mysql high availability and scalability
 
MySQL Backup and Recovery Essentials
MySQL Backup and Recovery EssentialsMySQL Backup and Recovery Essentials
MySQL Backup and Recovery Essentials
 
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
 
MySQL PHP native driver : Advanced Functions / PHP forum Paris 2013
 MySQL PHP native driver  : Advanced Functions / PHP forum Paris 2013   MySQL PHP native driver  : Advanced Functions / PHP forum Paris 2013
MySQL PHP native driver : Advanced Functions / PHP forum Paris 2013
 
MySQL Replication: Demo Réplica en Español
MySQL Replication: Demo Réplica en EspañolMySQL Replication: Demo Réplica en Español
MySQL Replication: Demo Réplica en Español
 
Introduction to MariaDB MaxScale
Introduction to MariaDB MaxScaleIntroduction to MariaDB MaxScale
Introduction to MariaDB MaxScale
 
MySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online RecoveryMySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online Recovery
 
Getting started with my sql
Getting started with my sqlGetting started with my sql
Getting started with my sql
 
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
 
My two cents about Mysql backup
My two cents about Mysql backupMy two cents about Mysql backup
My two cents about Mysql backup
 

Similar to Upgrading mysql version 5.5.30 to 5.6.10

Multiple instances on linux
Multiple instances on linuxMultiple instances on linux
Multiple instances on linux
Vasudeva Rao
 
Mysql ppt
Mysql pptMysql ppt
Mysql ppt
Sanmuga Nathan
 
Mysql
Mysql Mysql
Mysql
Mindtree
 
Oracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard SetupOracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard Setup
Arun Sharma
 
Architecting cloud
Architecting cloudArchitecting cloud
Architecting cloud
Tahsin Hasan
 
Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorial
Dru Lavigne
 
Hdf installing-hdf
Hdf installing-hdfHdf installing-hdf
Hdf installing-hdf
nmrrsc
 
Oracle olap-installation
Oracle olap-installationOracle olap-installation
Oracle olap-installation
Amit Sharma
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
Sharon James
 
High Availabiltity & Replica Sets with mongoDB
High Availabiltity & Replica Sets with mongoDBHigh Availabiltity & Replica Sets with mongoDB
High Availabiltity & Replica Sets with mongoDB
Gareth Davies
 
Upgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtimeUpgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtime
Olivier DASINI
 
Building Apache Cassandra clusters for massive scale
Building Apache Cassandra clusters for massive scaleBuilding Apache Cassandra clusters for massive scale
Building Apache Cassandra clusters for massive scale
Alex Thompson
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
Wirabumi Software
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk Webhosting
Beni Krisbiantoro
 
Performance and Scalability
Performance and ScalabilityPerformance and Scalability
Performance and Scalability
Mediacurrent
 
MySQL database replication
MySQL database replicationMySQL database replication
MySQL database replication
PoguttuezhiniVP
 
MySQL 101 PHPTek 2017
MySQL 101 PHPTek 2017MySQL 101 PHPTek 2017
MySQL 101 PHPTek 2017
Dave Stokes
 
My First 100 days with a MySQL DBMS (WP)
My First 100 days with a MySQL DBMS (WP)My First 100 days with a MySQL DBMS (WP)
My First 100 days with a MySQL DBMS (WP)
Gustavo Rene Antunez
 
Mysql wp cluster_quickstart_windows
Mysql wp cluster_quickstart_windowsMysql wp cluster_quickstart_windows
Mysql wp cluster_quickstart_windows
Rogério Rocha
 
instaling
instalinginstaling
instaling
tutorialsruby
 

Similar to Upgrading mysql version 5.5.30 to 5.6.10 (20)

Multiple instances on linux
Multiple instances on linuxMultiple instances on linux
Multiple instances on linux
 
Mysql ppt
Mysql pptMysql ppt
Mysql ppt
 
Mysql
Mysql Mysql
Mysql
 
Oracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard SetupOracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard Setup
 
Architecting cloud
Architecting cloudArchitecting cloud
Architecting cloud
 
Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorial
 
Hdf installing-hdf
Hdf installing-hdfHdf installing-hdf
Hdf installing-hdf
 
Oracle olap-installation
Oracle olap-installationOracle olap-installation
Oracle olap-installation
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
 
High Availabiltity & Replica Sets with mongoDB
High Availabiltity & Replica Sets with mongoDBHigh Availabiltity & Replica Sets with mongoDB
High Availabiltity & Replica Sets with mongoDB
 
Upgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtimeUpgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtime
 
Building Apache Cassandra clusters for massive scale
Building Apache Cassandra clusters for massive scaleBuilding Apache Cassandra clusters for massive scale
Building Apache Cassandra clusters for massive scale
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk Webhosting
 
Performance and Scalability
Performance and ScalabilityPerformance and Scalability
Performance and Scalability
 
MySQL database replication
MySQL database replicationMySQL database replication
MySQL database replication
 
MySQL 101 PHPTek 2017
MySQL 101 PHPTek 2017MySQL 101 PHPTek 2017
MySQL 101 PHPTek 2017
 
My First 100 days with a MySQL DBMS (WP)
My First 100 days with a MySQL DBMS (WP)My First 100 days with a MySQL DBMS (WP)
My First 100 days with a MySQL DBMS (WP)
 
Mysql wp cluster_quickstart_windows
Mysql wp cluster_quickstart_windowsMysql wp cluster_quickstart_windows
Mysql wp cluster_quickstart_windows
 
instaling
instalinginstaling
instaling
 

More from Vasudeva Rao

Convert language latin1 to utf8 on mysql
Convert language latin1 to utf8 on mysqlConvert language latin1 to utf8 on mysql
Convert language latin1 to utf8 on mysql
Vasudeva Rao
 
Ddl commands
Ddl commandsDdl commands
Ddl commands
Vasudeva Rao
 
Database migration
Database migrationDatabase migration
Database migration
Vasudeva Rao
 
Performence tuning
Performence tuningPerformence tuning
Performence tuning
Vasudeva Rao
 
Multiple instances second method
Multiple instances second methodMultiple instances second method
Multiple instances second method
Vasudeva Rao
 
Multiple instance on windows
Multiple instance on windowsMultiple instance on windows
Multiple instance on windows
Vasudeva Rao
 
Postgre sql run book
Postgre sql run bookPostgre sql run book
Postgre sql run book
Vasudeva Rao
 

More from Vasudeva Rao (7)

Convert language latin1 to utf8 on mysql
Convert language latin1 to utf8 on mysqlConvert language latin1 to utf8 on mysql
Convert language latin1 to utf8 on mysql
 
Ddl commands
Ddl commandsDdl commands
Ddl commands
 
Database migration
Database migrationDatabase migration
Database migration
 
Performence tuning
Performence tuningPerformence tuning
Performence tuning
 
Multiple instances second method
Multiple instances second methodMultiple instances second method
Multiple instances second method
 
Multiple instance on windows
Multiple instance on windowsMultiple instance on windows
Multiple instance on windows
 
Postgre sql run book
Postgre sql run bookPostgre sql run book
Postgre sql run book
 

Recently uploaded

Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Pitangent Analytics & Technology Solutions Pvt. Ltd
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
BibashShahi
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 

Recently uploaded (20)

Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 

Upgrading mysql version 5.5.30 to 5.6.10

  • 1. Upgrading MySQL 5.5.30 to 5.6.10 on Linux: Step: 1First downloaded particular version of MySQL and copy in to mount pointin this scenario we have 5.5.30 –log version on Linux Now we need to upgrade 5.6.10 in Linuxversion: Before upgrading,
  • 2. Step 2: We now have our rpm’s to upgrade our server to MySQL 5.6.10 Before we proceed further, stop existing MySQL Server. Run the following command to stop your server [Assuming your init.d start-up script in named as MySQL, you can check that in /etc/init.d directory] Servicemysql stop Step 3:Now move the data directory under /var/lib/mysqlto /var/lib/mysql_55. Run the following command in order to move. [If you used custom path when you installed MySQL 5.5 then change below command appropriately] mv/var/lib/mysql/ /var/lib/mysql_55 Step 4:Now you can securely remove the existing installation of MySQL 5.5 rpm’s from your server, before we install the new MySQL 5.6 database engine. Check what existing packages are installed on our existing database server that corresponds to MySQL 5.5 engine. To do that runs the following command Rpm–qa|grep–I mysql Step 5:Running the above command returns the following packages as that are currently installed in existing database server. Now remove them one by one from server in order for us to install MySQL 5.6 engine.
  • 3. To remove we can simply run the following Yum remove MySQL-server-5.5.30-1.rhel5 MySQL-client-5.5.30-1.rhel5 MySQL-shared- 5.5.30-1.rhel Step 6:Now you have remove all MySQL 5.5 related libraries that correspond to MySQL 5.5 database engine. Nowlet’s install MySQL 5.6.10 from the rpm’s that we downloaded earlier. To install them just run the following commands. Rpm–ivhMySQL-shared-5.6.10-1.rhel5.rpm Rpm-ivhMySQL-client-5.6.10-1.el6.rhel5.rpm Rpm–ivhMySQL-server-5.6.10-1.el6.rhel5.rpm
  • 4.
  • 5. Log file: [root@INVIRH54DB3 mysql]# rpm -ivh MySQL-server-5.6.10-1.rhel5.x86_64.rpm Preparing... ########################################### [100%] 1:MySQL-server ########################################### [100%] 2013-04-12 12:27:10 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2013-04-12 12:27:10 2b96105a53a0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB'sinternal memory allocator. 2013-04-12 12:27:10 6419 [Note] InnoDB: The InnoDB memory heap is disabled 2013-04-12 12:27:10 6419 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2013-04-12 12:27:10 6419 [Note] InnoDB: Compressed tables use zlib 1.2.3 2013-04-12 12:27:10 6419 [Note] InnoDB: CPU does not support crc32 instructions 2013-04-12 12:27:10 6419 [Note] InnoDB: Using Linux native AIO 2013-04-12 12:27:10 6419 [Note] InnoDB: Initializing buffer pool, size = 16.0M 2013-04-12 12:27:10 6419 [Note] InnoDB: Completed initialization of buffer pool 2013-04-12 12:27:10 6419 [Note] InnoDB: The first specified data file /var/lib/mysql/ibdata1 did not exist: a new database to be created! 2013-04-12 12:27:10 6419 [Note] InnoDB: Setting file /var/lib/mysql/ibdata1 size to 10 MB2013-04-12 12:27:10 6419 [Note] InnoDB: Database physically writes the file full: wait...2013-04-12 12:27:10 6419 [Note] InnoDB: Setting log file /var/lib/mysql/ib_logfile101 size to 5 MB2013-04-12 12:27:10 6419 [Note] InnoDB: Setting log file /var/lib/mysql/ib_logfile1 size to 5 MB2013-04-12 12:27:10 6419 [Note] InnoDB: Renaming log file /var/lib/mysql/ib_logfile101 to /var/lib/mysql/ib_logfil e02013-04-12 12:27:10 6419 [Warning] InnoDB: New log files created, LSN=45781 2013-04-12 12:27:10 6419 [Note] InnoDB: Doublewrite buffer not found: creating new 2013-04-12 12:27:10 6419 [Note] InnoDB: Doublewrite buffer created 2013-04-12 12:27:10 6419 [Note] InnoDB: 128 rollback segment(s) are active. 2013-04-12 12:27:10 6419 [Warning] InnoDB: Creating foreign key constraint system tables.2013-04-12 12:27:10 6419 [Note] InnoDB: Foreign key constraint system tables created2013-04-12 12:27:10 6419 [Note] InnoDB: Creating tablespace and datafile system tables.2013-04-12 12:27:10 6419 [Note] InnoDB: Tablespace and datafile system tables created.2013-04-12 12:27:10 6419 [Note] InnoDB: Waiting for purge to start2013-04-12 12:27:10 6419 [Note] InnoDB: 1.2.10 started; log sequence number 0 A random root password has been set. You will find it in '/root/.mysql_secret'. 2013-04-12 12:27:10 6419 [Note] Binlog end
  • 6. 2013-04-12 12:27:10 6419 [Note] InnoDB: FTS optimize thread exiting. 2013-04-12 12:27:10 6419 [Note] InnoDB: Starting shutdown... 2013-04-12 12:27:12 6419 [Note] InnoDB: Shutdown completed; log sequence number 16259842013-04-12 12:27:12 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).2013-04-12 12:27:12 2ba3a48293a0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB'sinternal memory allocator.2013-04-12 12:27:12 6442 [Note] InnoDB: The InnoDB memory heap is disabled2013-04-12 12:27:12 6442 [Note] InnoDB: Mutexes and rw_locks use GCC atomic built-ins 2013-04-12 12:27:12 6442 [Note] InnoDB: Compressed tables use zlib 1.2.32013-04-12 12:27:12 6442 [Note] InnoDB: CPU does not support crc32 instructions 2013-04-12 12:27:12 6442 [Note] InnoDB: Using Linux native AIO 2013-04-12 12:27:12 6442 [Note] InnoDB: Initializing buffer pool, size = 16.0M 2013-04-12 12:27:12 6442 [Note] InnoDB: Completed initialization of buffer pool 2013-04-12 12:27:12 6442 [Note] InnoDB: Highest supported file format is Barracuda. 2013-04-12 12:27:12 6442 [Note] InnoDB: 128 rollback segment(s) are active. 2013-04-12 12:27:12 6442 [Note] InnoDB: Waiting for purge to start 2013-04-12 12:27:12 6442 [Note] InnoDB: 1.2.10 started; log sequence number 1625984 2013-04-12 12:27:12 6442 [Note] Binlog end 2013-04-12 12:27:12 6442 [Note] InnoDB: FTS optimize thread exiting. 2013-04-12 12:27:12 6442 [Note] InnoDB: Starting shutdown... 2013-04-12 12:27:14 6442 [Note] InnoDB: Shutdown completed; log sequence number 1625994 A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER ! You will find that password in '/root/.mysql_secret'. You must change that password on your first connect, No other statement but 'SET PASSWORD' will be accepted. See the manual for the semantics of the 'password expired' flag. Also, the account for the anonymous user has been removed. In addition, you can run: /usr/bin/mysql_secure_installation Which will also give you the option of removing the test database? This is strongly recommended for production servers. See the manual for more instructions. Please report any problems with the /usr/bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com
  • 7. Support MySQL by buying support/licenses at http://shop.mysql.com WARNING: Found existing config file /usr/my.cnf on the system. Because this file might be in use, it was not replaced, But was used in bootstrap (unless you used --defaults-file) And when you later start the server. The new default config file was created as /usr/my-new.cnf, Please compare it with your file and take the changes you need. WARNING: Default config file /etc/my.cnf exists on the system This file will be read by default by the MySQL server If you do not want to use this, either remove it, or use the --defaults-file argument to mysqld_safe when starting the server Step 7:We are now done with installing MySQL 5.6 server. Now before we start the server we need to move back the data directory that we moved earlier and put back to where it was. I will be copying back rather than moving as a failsafe if the upgrade fails. Then we still have the original data directory in place to fix things up or install MySQL 5.5 server backs to its place for rolling back the upgrade process. Mv/var/lib/mysql /var/lib/mysql_56_clean Cp-R/var/lib/mysql_55 /var/lib/mysql Step 8:Now we have our data directory back to its place. Right now we are in a state that our engine libraries correspond to MySQL 5.6.10 and our data directory is of MySQL 5.5. We need to upgrade our data directory to be compatible with MySQL 5.6 database engine. In order to proceed further we need to start the database engine now. Servicemysql start
  • 8. Step 9:There will be an error starting the database engine as shown above: Starting MySQL.ERROR! The server quit without updating PID file (/var/lib/mysql/open sourcedbms.pid) Database engine will fail to start as permissions on data directory are wrong. To fix that run the following command. Chown-R mysql:mysql/var/lib/mysql
  • 9. Step 10: Now try starting the database server again with same command. Servicemysql start And you should be able to successfully start it. [If you did not, you might have data directories installed in a different path or custom config file paths etc., check you database logs and see if those tell something about it. Please put that in this blog comments and I will try to solve that if possible based on my understanding] Step 11:Now let’s upgrade the data directories to be compatible with MySQL 5.6 engine to play nice with this new engine. To upgrade we need to run mysql_upgrade. This utility checks your tables, and attempts to repair them if necessary. It also updates your grant tables to make sure that they have the current structure so that you can take advantage of any new capabilities. Please use an existing super user that you have inyour database [5.5]
  • 10. engine to run this utility. Please change the host/user/password according to your parameters/settings. mysql_upgrade –hHostname –u root-p Here password is mysql Step 12:Mysql_upgrade utility should start fixing your existing tables. Now you have successfully updated your data directory as well. This completes full upgrade of MySQL 5.5 database server to MySQL 5.6 database server. Try connecting from any existing client and you should be able to connect successfully to this database server.
  • 11.
  • 12. Note:There are certainly a lot of config parameter changes / feature changes in MySQL 5.6 database version. I highly recommend going through those new welcome additions in MySQL 5.6 version and tune your database server accordingly [Also go through Server Administration / Security areas from 5.6 Manual for good understanding]. Also this upgrade is a lot straight forward as I did not have to deal with existing server config parameters, custom paths etc., I would say think through this tutorial and act according to your environment/needs. Before you proceed to do this on your production servers make sure that you block 3306 [Or whatever port your database server runs on] port from your iptables and test this process in pre-production environments at-least couple of times.Last but not least make sure that this new MySQL server is enabled to auto start when server restarts.
  • 13. What's New in MySQL 5.6? http://dev.mysql.com/tech-resources/articles/whats-new-in-mysql-5.6.html