Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2009

    cpanel with mysql 4.0,and mysql can not work


    i need to use mysql 4.0 on my server,
    after downgrade mysql from 5.0 to 4.0,
    i restore my cpanel account to the server,
    all mysql page get error,

    for instance,workpress

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    is it any issue make it ?


  2. #2
    Join Date
    Mar 2009
    i follow the way to downgrade to mysql 4.0

    pico /var/cpanel/cpanel.config,change mysql-version=4.1 into mysql-version=4.

    cp -fr /var/lib/mysql /var/lib/mysql.old

    rm -fr /var/lib/mysql

    rm -f /usr/sbin/mysqld

    /scripts/mysqlup -force

    mv "/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/mysql/" /root/
    wget ""
    tar -zxvf DBD-mysql-4.001.tar.gz
    cd DBD-mysql-4.001
    perl Makefile.PL
    make install


  3. #3
    Join Date
    Mar 2009

    i check the mysql database list from cpanel => mysql,

    all the database shows with 0MB...


  4. #4
    Join Date
    Mar 2009
    i find all the mysql can not work,it seems all the restore do not restore each mysql-user's password at all.thanx

  5. #5
    If this is happening on a production server and you need it fixed ASAP you should hire a server management company as going back and forward on the forums can be time consuming for you and your clients.
    Server Management and server solutions / 24x7 live support / 20 minutes response time

  6. #6
    Any reason in specific you don't want to use MySQL 5? It may be less effort to update the scripts to use it, rather than trying to use MySQL 4.

Similar Threads

  1. Scripted cPanel MySQL backup doesn't work
    By tech-pro in forum Hosting Security and Technology
    Replies: 2
    Last Post: 12-19-2006, 06:19 AM
  2. Replies: 1
    Last Post: 09-21-2005, 01:46 AM
  3. mysql 4.1 and cpanel -- does it work?
    By spikez202 in forum Web Hosting
    Replies: 13
    Last Post: 01-16-2005, 09:58 PM
  4. Looking for work! Linux/Cpanel/PHP/MySQL/HTML Experience!!
    By buccaneerob in forum Employment / Job Offers
    Replies: 0
    Last Post: 04-05-2004, 04:44 PM
  5. mysql error & mysql.sock missing after cpanel update
    By sbhmike in forum Hosting Security and Technology
    Replies: 0
    Last Post: 04-03-2003, 11:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts