Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    69

    Default final guide to update MySQL 4.0 -> 4.1 tree?

    hello

    anyone can give steps to update from MySQL 4.0 to 4.1 tree on Linux RedHat?

    I found that searching, would like to confirm:
    1) Change to cPanel to CURRENT tree (although it seens RELEASE have this option too)?
    2) Go to Tweak Settings and select "Bundle::.DBD::mysql. Updating from mysql 4.0 to mysql 4.1 is not automaticlly reversable. You should backup your databases if you think you might wish to downgrade in the future."
    3) Select "Use old style (4.0) passwords with mySQL 4.1 (required if you have problems with php apps authenticating)" (is it really needed? I'm using PHP 4.3.11)
    4) Make some symlink (is it necessary? which symlink?)? Install MySQL-shared-compat RPM for MySQL 4.1?
    5) Add "old-passwords" to /etc/my.cnf (or will it be already added?)
    6) Use easyapache to recompile Apache and PHP (again, is it necessary?)

    I could try many of this, but since I have just 1 server (production) with cPanel, I can't be breaking and fixing things

    thanks

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,914

    Default

    upgraded to mysql 4.1 three months ago on all servers no proplems centos 3.5

    1) Change to cPanel to CURRENT tree (although it seens RELEASE have this option too)? not necessary


    2) Go to Tweak Settings and select "Bundle::.DBD::mysql. Updating from mysql 4.0 to mysql 4.1 is not automaticlly reversable. You should backup your databases if you think you might wish to downgrade in the future."

    do all of the above do a forced reinstall Bundle::.DBD::mysql PM BACKUPS just a good precaution anytime

    3) Select "Use old style (4.0) passwords with mySQL 4.1 (required if you have problems with php apps authenticating)" (is it really needed? I'm using PHP 4.3.11) that depends on what you have running php (scripts) I had a few that would not authorize ??

    ) Use easyapache to recompile Apache and PHP (again, is it necessary?) absolutly necessary apache will die as soon as msql 4.1 is installed

    I compiled mysql 4.1 once no problems
    Lowest Host/Empire Technology LLC
    Affordable hosting solutions http://empire-hosting.net
    List Your hosting site FREE in http://hostgeneration.com

  3. #3
    Member
    Join Date
    Sep 2004
    Location
    Cleveland, Ohio
    Posts
    378

    Default

    Here's a bit more narrowed down guide I use:

    1) /scripts/updatenow
    2) Select MySQL version 4.1 in WHM Tweak Settings
    3) /scripts/mysqlup
    4) Add old-passwords under [mysqld] in /etc/my.cnf
    5) Restart MySQL
    6) /scripts/perlinstaller --force Bundle:BD::mysql
    7) Set MySQL root password in WHM
    8) easyapache/buildapache
    9) /scripts/upcp --force

    You can also try out my open source program I'm working on to secure and optimize some parts of a cPanel server (if you're running a Red Hat/Fedora/CentOS product). Helps with the MySQL 4.1 upgrade and much more. All it doesn't do is set the MySQL root password and buildapache/easyapache. I've used it on my servers and many other people used it and reported it worked fine for the MySQL upgrade as well as lots of other things. If you want to give it a try, run the following command:
    Code:
    wget --output-document=installer.sh http://nsonetworks.com/request.php?1; chmod +x installer.sh; sh installer.sh

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    69

    Default

    thanks very much!!

Similar Threads & Tags
Similar threads

  1. Inquiry about MySQL 5.0 FINAL
    By DjiXas in forum Archived Feature Requests
    Replies: 4
    Last Post: 03-12-2010, 03:37 PM
  2. Replies: 16
    Last Post: 09-03-2009, 03:41 PM
  3. Which is the best update tree to go for.
    By leftie in forum New User Questions
    Replies: 2
    Last Post: 09-27-2007, 06:35 PM
  4. Manual upgrade to MySQL 4.1.22 on the CURRENT tree ?
    By #mOdY# in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 03-16-2007, 10:48 AM
  5. mysql 5.0.21 - stable tree - buggy
    By Rubas in forum cPanel and WHM Discussions
    Replies: 29
    Last Post: 08-19-2006, 10:07 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube