#1 (permalink)  
Old 12-23-2009, 08:23 AM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,349
cpanelkenneth is on a distinguished road
Support for MySQL 5.1 and PHPMyAdmin 3

Note: This is also an announcement. However it is better served as a thread.

Summary
cPanel now supports MySQL 5.1 and PHPMyAdmin 3

Details
A new interface for managing the process of upgrading MySQL is available as of cPanel 11.25.0 build 41963. The new interface is found in the Software section in WHM. The MySQL version selection is removed from Tweak Settings. Support for MySQL 5.1 and PHPMyAdmin 3 are limited to cPanel 11.25.0 and higher.

Rather than being a simple radio buttton in Tweak Settings, as in prior versions, the MySQL Upgrade interface walks you through the upgrade process. This process typically includes rebuilding PHP for Apache and sometimes for cPanel. The majority of the process may be accomplished unattended.

The interface only supports upgrading versions, for example from MySQL 4.1 to MySQL 5.1. It does not support down grading. Down grades are not recommended.

As part of the MySQL upgrade, the version of PHPMyAdmin installed may change. This happens when upgrading from MySQL 4.0 or 4.1 to MySQL 5.0 and higher. We now provide PHPMyAdmin versions 2 and 3.

PHP Version Incompatibility
PHPMyAdmin 3 is not compatible with PHP 4. cPanel provides PHP 5.2.6 for the internal PHP binary. This binary, at /usr/local/cpanel/3rdparty/bin, is used to serve the internal PHP applications that ship with the product, such as PHPMyAdmin. If this binary has been modified, or overwritten to be PHP 4, then complications will arise with PHPMyAdmin upon upgrading MySQL to 5.0 or higher.

Further information about the MySQL Upgrade interface and process will be
available in the cPanel 11.25 documentation.

We look forward to any feedback you may have regarding this new feature.
__________________
cPanel Kenneth
cPanel QA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-23-2009, 09:38 AM
Registered User
 
Join Date: Feb 2007
Posts: 119
DjiXas is on a distinguished road
Mega awesome!

Since cPanel now allows upgrading to 5.1, I was wondering, what's the best
way to migrate accounts?

I am moving accounts now from 4.1 server to 5.0.

Shall I just upgrade to 5.1 from 5.0 and continue moving them (will cp convert
dbs from 4.1 > 5.0 > 5.1?) or it's better to finish account move so
all accounts would be 5.0 and then start 5.1 conversion process?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-23-2009, 09:46 AM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,349
cpanelkenneth is on a distinguished road
Quote:
Originally Posted by DjiXas View Post
Mega awesome!

Since cPanel now allows upgrading to 5.1, I was wondering, what's the best
way to migrate accounts?

I am moving accounts now from 4.1 server to 5.0.

Shall I just upgrade to 5.1 from 5.0 and continue moving them (will cp convert
dbs from 4.1 > 5.0 > 5.1?) or it's better to finish account move so
all accounts would be 5.0 and then start 5.1 conversion process?
cPanel makes no effort to "convert" or preserve the integrity of databases or their data during the upgrade cycle. That is wholly dependent upon the Server owner/sysadmin. The MySQL RPMs provided by cPanel will perform some necessary tasks as part of the upgrade cycle, but these are usually limited to running mysql_upgrade and similar utilities provided by MySQL.

It is strongly recommended that Server owners/sysadmins read the relevant release notes provided by MySQL. Those documents are very detailed and provide information that will help the Server owner/sysadmin to have a smooth upgrade and prevent data loss.


Please note that we only support MySQL upgrades to MYSQl 5.1 using the new tools in cPanel 11.25.0. These tools will upgrade in steps recommended by MySQL. For example a server with MySQL 4.1 that is upgraded to MySQL 5.1 will first be upgraded to MySQL 5.0 then MySQL 5.1.
__________________
cPanel Kenneth
cPanel QA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-23-2009, 09:46 AM
Registered User
 
Join Date: Dec 2006
Posts: 6
jestep is on a distinguished road
FINALLY!

Awesome news, have been waiting for this for about a year now.
__________________
Say No To Flash | My Ecommerce Blog

Last edited by jestep; 12-23-2009 at 09:49 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-23-2009, 10:01 AM
Registered User
 
Join Date: Feb 2007
Posts: 119
DjiXas is on a distinguished road
Hi,

Do you mean that when moving accounts from 4.1 to 5.0 (using cpanel copy from another server), I still need to convert those DBs to 5.0?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-23-2009, 02:55 PM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,349
cpanelkenneth is on a distinguished road
Quote:
Originally Posted by DjiXas View Post
Hi,

Do you mean that when moving accounts from 4.1 to 5.0 (using cpanel copy from another server), I still need to convert those DBs to 5.0?
Account transfers do not move the physical database files, rather the data and table schemas are dumped on the source server, then imported on the destination server.
__________________
cPanel Kenneth
cPanel QA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-23-2009, 03:34 PM
Registered User
 
Join Date: Feb 2007
Posts: 119
DjiXas is on a distinguished road
Sorry, I don't understand.

If I move account from 4.1 server to 5.0, do I need to do anything else apart move, or cPanel/MySQL will automatically finish the job (converting db's maybe, I don't know).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 12-23-2009, 05:31 PM
cPanelDon's Avatar
cPanel Staff (Administrator)
 
Join Date: Nov 2008
Location: Houston, Texas, U.S.A.
Posts: 1,511
cPanelDon is on a distinguished road
Lightbulb

Quote:
Originally Posted by DjiXas View Post
Sorry, I don't understand.

If I move account from 4.1 server to 5.0, do I need to do anything else apart move, or cPanel/MySQL will automatically finish the job (converting db's maybe, I don't know).
There should not be any other steps required other than performing a normal account transfer via WHM or restoring from a full account backup (e.g., "cpmove" archive).
__________________
For hands-on assistance please reference our new support information page: Where should I go for support?
cPResources: Support Options - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation
-- cPanelDon - Donald Holl, Technical Analyst, cPanel Technical Support
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 12-23-2009, 06:26 PM
Registered User
 
Join Date: Aug 2005
Posts: 130
oulzac is on a distinguished road
I can't upgrade, I get:

ISAM tables are still in use on this system. These tables must be manually upgraded to MyISAM before an upgrade of the MySQL server is possible.


Does this mean I have to go through all 2K+ databases on my server to check and see which DB's are using ISAM tables?

This upgrade broke phpmyadmin today, and now I have to upgrade MySQL to fix it, and I just keep getting road blocked
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 12-23-2009, 07:47 PM
cPanelDon's Avatar
cPanel Staff (Administrator)
 
Join Date: Nov 2008
Location: Houston, Texas, U.S.A.
Posts: 1,511
cPanelDon is on a distinguished road
Lightbulb

Quote:
Originally Posted by oulzac View Post
I can't upgrade, I get:
ISAM tables are still in use on this system. These tables must be manually upgraded to MyISAM before an upgrade of the MySQL server is possible.


Does this mean I have to go through all 2K+ databases on my server to check and see which DB's are using ISAM tables?
Starting in MySQL 5.0 support for the ISAM storage engine was removed in favor of using MyISAM. Please see the following MySQL documentation resource for conversion information: MySQL :: MySQL 5.0 Reference Manual :: 2.18.1.2 Upgrading from MySQL 4.1 to 5.0
Quote:
Incompatible change: Support for the ISAM storage engine has been removed in MySQL 5.0. If you have any ISAM tables, you should convert them before upgrading. For example, to convert an ISAM table to use the MyISAM storage engine, use this statement:
Code:
ALTER TABLE tbl_name ENGINE = MyISAM;
Use a similar statement for every ISAM table in each of your databases.
Additional reference: MySQL :: MySQL 3.23, 4.0, 4.1 Reference Manual :: 13.10 The ISAM Storage Engine
Quote:
Due to the deprecated status of ISAM, and because MyISAM is an improvement over ISAM, you are advised to convert any remaining ISAM tables to MyISAM as soon as possible.

Quote:
Originally Posted by oulzac View Post
This upgrade broke phpmyadmin today, and now I have to upgrade MySQL to fix it, and I just keep getting road blocked
For re-installing phpMyAdmin (via root SSH access) please refer to the following thread: phpMyAdmin broke with 11.25 upgrade - cPanel Forums
__________________
For hands-on assistance please reference our new support information page: Where should I go for support?
cPResources: Support Options - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation
-- cPanelDon - Donald Holl, Technical Analyst, cPanel Technical Support
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 12-24-2009, 09:40 AM
Registered User
 
Join Date: Jul 2009
Posts: 40
radeonpower is on a distinguished road
Are there any major changes between 5.0 and 5.1? Can I safely upgrade without worrying about failure of websites?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 12-24-2009, 09:45 AM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,349
cpanelkenneth is on a distinguished road
Quote:
Originally Posted by radeonpower View Post
Are there any major changes between 5.0 and 5.1? Can I safely upgrade without worrying about failure of websites?
The answer to that will depend upon your own analysis after:

1. Exploring what your customers are using; and
2. Reading the MySQL 5.1 Release Notes provided by MySQL
__________________
cPanel Kenneth
cPanel QA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 12-24-2009, 10:26 AM
Registered User
 
Join Date: Jul 2009
Posts: 40
radeonpower is on a distinguished road
Thanks, how can I update MySQL and phpMyAdmin?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 12-24-2009, 07:42 PM
cPanelDon's Avatar
cPanel Staff (Administrator)
 
Join Date: Nov 2008
Location: Houston, Texas, U.S.A.
Posts: 1,511
cPanelDon is on a distinguished road
Lightbulb

Quote:
Originally Posted by radeonpower View Post
Thanks, how can I update MySQL and phpMyAdmin?
Please refer to the following post for details including the WHM menu path, documentation, and applicable release notes: cPanel Forums - View Single Post - Inquiry about MySQL 5.0 FINAL
__________________
For hands-on assistance please reference our new support information page: Where should I go for support?
cPResources: Support Options - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation
-- cPanelDon - Donald Holl, Technical Analyst, cPanel Technical Support
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 12-25-2009, 02:09 AM
Registered User
 
Join Date: Jul 2004
Posts: 27
smoge
you may want to rename your my.cnf to something else before doing this upgrade - as it seems that an older my.cnf can cause problems with the WHM upgrade script / mysql upgrade.

Any comments from cpanel techs on this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cpanel 11 does not support Perl 5.8.8 / phpMyAdmin 2.11.0 netmation cPanel and WHM Discussions 5 08-27-2007 10:36 PM
mysql/phpmyadmin avlnch cPanel and WHM Discussions 2 04-02-2007 12:42 PM
MySQL + phpMyAdmin xbuzz cPanel Newbies 5 01-06-2006 10:56 PM
PhpMyAdmin and Mysql adm.iuri cPanel and WHM Discussions 11 09-23-2004 10:34 AM
mysql and phpmyadmin tmvnews cPanel and WHM Discussions 1 06-26-2002 06:56 PM


All times are GMT -5. The time now is 04:54 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc