|
Last modified: 27 Dec 2007
WARNING: This documentation covers Parallels H-Sphere versions up to 3.1. For the latest up-to-date Parallels H-Sphere documentation, please proceed to the
official Parallels site.
PhpMyAdmin is a MySQL administration Web interface written in PHP.
Starting with H-Sphere 2.5, it is installed with MySQL server
as a hsphere-phpmyadmin-<version>-<build> package, where
<version> is PhpMyAdmin version, and <build> is
this package's build number.
In H-Sphere versions earlier than 2.5, PhpMyAdmin is installed as a tarball to a Web server
whose logical server id is specified in the PHP_MY_ADMIN_HOST property
in the ~cpanel/shiva/psoft_config/hsphere.properties file.
Usually, it is the first Web server added to the system.
Location
PhpMyAdmin installation directory is /hsphere/shared/apache/htdocs/phpMyAdmin.
Updating PhpMyAdmin Manually
before HS 2.5
- Login as root to the box where phpMyAdmin is configured.
(In the ~cpanel/shiva/psoft_config/hsphere.properties file, PHP_MY_ADMIN_HOST
points to the identifier of the logical server where phpMyAdmin is configured. Usually, it is
the first Web server added to the system.)
- Go to the directory /hsphere/shared/apache/htdocs/phpMyAdmin
and back up the file config.inc.php. It has the required settings.
- Download the needed version of phpMyAdmin from www.phpmyadmin.net.
- Untar the file's content into the phpMyAdmindirectory in the
Apache DocumentRoot, e.g. /hsphere/shared/apache/htdocs/phpMyAdmin.
Before you continue the installation, please carefully read the documentation
supplied with phpMyAdmin installation package, including the Documentation.txt file.
- Open config.inc.php in the phpMyAdmin directory. This
file contains phpMyAdmin settings. Change $cfg['Servers'][$i]['host'],
$cfg['Servers'][$i]['user'] and $cfg['Servers'][$i]['password']
to the values you have in the file you have backed up. The username and password
are also available in the ~mysql/.my.cnf file.
|