Skip to main content

[Case 142505] phpMyAdmin 500 errors on copying a database

Comments

6 comments

  • LostNerd
    Re: phpMyAdmin copy database produces error 500 (cPanel 11.46 and phpMyAdmin 4.0.10.5 and MySQL 5.5. You can run this command to try and run an upgrade on PHPMyAdmin But you may already be running the latest version available to cPanel...
    /usr/local/cpanel/bin/updatephpmyadmin --force
    On a side note... If you are on a production server... Might I suggest you update your cPanel update settings to STABLE. :)
    0
  • pkiff
    Re: phpMyAdmin copy database produces error 500 (cPanel 11.46 and phpMyAdmin 4.0.10.5 and MySQL 5.5.
    ]You can run this command to try and run an upgrade...

    Thanks for the suggestion. I did already run a cPanel/WHM update, and think I'm running the recommended phpMyAdmin now (4.0.10.5): that's the version that is specifically cited in the change log for cPanel 11.46.0 build 17, and it appears that it is precisely the downgrade to that version which was put in place to deal with some current bugs. But I'm unclear on what the "--force" switch does in this case. Will that upgrade phpMyAdmin beyond what cPanel recommends? If so, then I don't think I want to do that, because I may run into the same issue as cited here:
    0
  • cPanelMichael
    Hello :) Internal case number 142505 has been opened to address this issue. You can monitor our change log for the inclusion of this case number: 11.46 Change Log The current workaround is to manually backup the database using the mysqldump utility and restore it under a new name. Thank you.
    0
  • pkiff
    OK, thanks for looking into this Michael. For those who are looking for a phpMyAdmin-only solution (in cases, for example, where you have given cPanel subaccounts access to phpMyAdmin, but not given them full shell/root MySQL command-line access), then you can achieve the same thing by using the phpMyAdmin "Export" function in place of mysqldump. Then, as Michael recommends, create a new database, and use the phpMyAdmin Import function to populate it.
    0
  • pkiff
    This issue seems to have been resolved in the latest version of cPanel (11.46.0.19) released yesterday (2014-12-02). The recommended version of phpMyAdmin has been bumped to 4.0.10.6, so I assume that resolved the issue, but I don't know for sure. The case number 142505 cited by Michael above does not appear in the Change Log, because the upgrade to phpMyAdmin was associated with another case, but I assume that case 142505 has been resolved as a byproduct of resolving case 139669: "[security] Fixed case 139669: Update phpMyAdmin, including CVE-2014-8959 CVE-2014-8958." Case closed.
    0
  • cPanelMichael
    Yes, you might notice this is resolved in cPanel version 11.46.0.19: [security] Fixed case 139669: Update phpMyAdmin, including CVE-2014-8959 CVE-2014-8958. However, an additional resolution related to internal case number 142505 will still be addressed in a future build. Thank you.
    0

Please sign in to leave a comment.