How to: Re-install phpMyAdmin under cPanel (Linux)

December 24th, 2008

If your cPanel-based phpMyAdmin application is not working correctly (ie: not acessible), the fastest way to get things going is to force a phpMyAdmin re-installattion.

To do so,  follow these steps:

  1. Log into your server as root (SSH2)
  2. Issue the following commands:
    1. rm -fR /usr/local/cpanel/3rdparty/etc/phpmyadmin ;
    2. rm -fR /var/cpanel/userhomes/phpmyadmin ;
    3. mkdir /usr/local/cpanel/3rdparty/etc/phpmyadmin ;
    4. mkdir /var/cpanel/userhomes/phpmyadmin ;
    5. chattr -ia /usr/local/cpanel/3rdparty/etc/phpmyadmin ;
    6. chattr -ia /var/cpanel/userhomes/phpmyadmin ;
    7. chown -R cpanelphpmyadmin:cpanelphpmyadmin /var/cpanel/userhomes/phpmyadmin ;
  3. Issue the following command as root:
    /scripts/upcp –force
  4. Once the installer has finished its job, restart the cPanel service:
    service cpanel restart

phpMyAdmin should be accessible again.

Global , , ,

Hello world!

December 23rd, 2008

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Global