How to upgrade MySQL from 5.1 to 5.5 on Plesk for Linux?




  • Avatar
    Greg Sims

    I am running RHEL 6.  This process will not work using sudo -- you must be root.  Issue "sudo su" prior to issuing the commands above.

  • Avatar
    Anton Maslov



    In general articles are written considering that all the commands will be invoked with root privileges since we do not know how exactly our customers work on the server (under root or not).

    Thank you for the comment - I believe it will be useful for other Pleskians :)


  • Avatar

    Do not working, or better do not upgrading, getting:

    Loaded plugins: presto
    Setting up Upgrade Process
    No Packages marked for Update

    But, sql server are on 5.1.73

  • Avatar
    Bulat Tsydenov

    @David, Hi! 

    As I understand you receive that output when running `yum upgrade mysql`

    Please, provide me with the following information:

    - OS version

    - the output of `yum repolist` command

    - the output of `rpm -qa | grep mysql` command

  • Avatar
    Ivan Postnikov

    Hello @Sistem, this command is fine and tested. 

    Usually, it does not have output but it is ok.

    Could you share which exact issue do you have when upgrading MySQL?

  • Avatar
    Unknown User

    Hi I would like to know is this procedure will be the same to upgrad mysql from 5.5 to 5.7?

  • Avatar
    Anzhelika Khapaknysh

    Hi @tesshsu!

    The procedure is a bit different. Check this article for details.

  • Avatar
    Unknown User

    got it, thank you @Anzhelika Khapaknysh

  • Avatar
    Anatoly Kirsanov

    How to use Oracle MySQL yum repository in this procedure? I use Plesk Onyx on CentOS 6.10.

  • Avatar
    Alexandr Redikultsev

    Hi @Anatoly Kirsanov,

    You can try to configure them manually at /etc/yum.repos.d/custom.repo file. Then execute `yum update` to update the repository information.

  • Avatar
    Anatoly Kirsanov

    What is the best choice repository in this procedure - Atomic or MySQL-community repository (Oracle)?

    I plane to upgrade 5.5. to 5.7 afterwards.

Please sign in to leave a comment.

Have more questions? Submit a request