Ref. Link: https://kb.plesk.com/en/127962

NOTE: Upgrade can be performed by using the instructions below at your own risk:

For Ubuntu 12.0.8 and 14.04, Debian 7:

Ubuntu 14.04 is shipped with MySQL 5.5 by default.

  1. Create a full server backup and server snapshot.
  2. Create a backup of /etc/mysql/my.cnf:
    [code]cp /etc/mysql/my.cnf{,_original}[/code]
    
  3. Add the MySQL APT Repository:
    • Go to the download page for the MySQL APT repository at http://dev.mysql.com/downloads/repo/apt/.
    • Select and download the release package for your platform:
      [code]wget http://dev.mysql.com/get/mysql-apt-config_0.6.0-1_all.deb[/code]
      
    • Install the downloaded release package:
      [code] dpkg -i mysql-apt-config_0.6.0-1_all.deb[/code]
      

      During the installation of the package, you will be asked to choose the versions of the MySQL server and other components that you want to install. If you are not sure which version to choose, do not change the default options selected for you. You can also choose none if you do not want a particular component to be installed. After making the choices for all components, choose Apply to finish the configuration and installation of the release package.

    • Update package information from the MySQL APT repository:
      [code] apt-get update[/code]
      
  4. Upgrade MySQL:
        [code]apt-get install mysql-server[/code]
    

    Agree when prompted to update /etc/mysql/my.cnf

  5. In Plesk go to Tools & Settings > Server Components and click Refresh

More information available in MySQL documentation at http://dev.mysql.com/

For CentOS 6:

  1. Stop MySQL service:
    [code]service mysqld stop[/code]
    
  2. Back up MySQL databases:
     [code]mkdir /var/lib/mysqlcopy[/code]
    [code]cp -aR /var/lib/mysql/* /var/lib/mysqlcopy[/code]
    
  3. Disable Atomic repository, if it is enabled:
    [code]vi atomic.repo[/code]
     [code] enabled = 0[/code]
    
  4. Install MySQL-community repository:
    # yum install http://dev.mysql.com/get/mysql57-community-release-el6-7.noarch.rpm
    
  5. Disable upgrade to MySQL 5.7, enable upgrade to MySQL 5.6:
    [code] vi /etc/yum.repos.d/mysql-community.repo[/code]
     [code] [mysql56-community] enabled=1 [mysql57-community] enabled=0[/code]
    
  6. Install MySQL packages:
    [code] yum install mysql[/code]
    
  7. Start MySQL service:
     [code]service mysqld start[/code]
    
  8. Upgrade MySQL databases:
    [code]mysql_upgrade -uadmin -p`cat /etc/psa/.psa.shadow`[/code]