Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 145925

Summary: dev-db/phpmyadmin - wrong postinstall info
Product: Gentoo Linux Reporter: xsl <nuno>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rl03
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
URL: http://www.phpmyadmin.net
Whiteboard:
Package list:
Runtime testing required: ---

Description xsl 2006-09-01 18:10:34 UTC
[...]
=================================================================
POST-INSTALL INSTRUCTIONS
=================================================================

0. If this is a new installation, create MySQL's grant tables and the pmadb
   database. NOTE: this will change the existing pma password to a random
   string!

     mysql -u root -p < /usr/share/webapps/phpmyadmin/2.8.2.4/sqlscripts/mysql/2.8.2.4_create.sql

1. Create config.inc.php. You can use the web-based installer:
   http://localhost//phpmyadmin/scripts/setup.php

   Alternatively, use the default config file in libraries/config.default.php

   mkdir /var/www/localhost/htdocs/phpmyadmin/config
   chmod o+rw /var/www/localhost/htdocs/phpmyadmin/config
   # if you want to edit existing configuration:
   cp /var/www/localhost/htdocs/phpmyadmin/config.inc.php /var/www/localhost/htdocs/phpmyadmin/config/
   chown -R VHOST_SERVER_GID:VHOST_SERVER_UID /var/www/localhost/htdocs/phpmyadmin/config

2. Be sure that the libraries/ directory is not visible. You can use the
provided .htaccess file.

===============

[...]

config.inc.php must be explicity in phpmyadmin dir (in this case /var/www/localhost/htdocs/phpmyadmin)
or some things like "themes" wont load and the file is never used.


More details are found here
http://www.phpmyadmin.net/documentation/#quick_install
http://wiki.cihar.com/pma/Quick_Install#Configuration
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-02 00:43:38 UTC
No, see Bug 140140.

*** This bug has been marked as a duplicate of 140140 ***