Summary: | phpmyadmin-2.5.6_rc1 startup error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Roy Marples (RETIRED) <uberlord> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | critical | CC: | mholzer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Roy Marples (RETIRED)
2004-02-13 02:05:22 UTC
emerge (and read einfo msg) etc-update make sure mysql is running ebuild /var/db/..... config type in mysql root passwort I found out what I was doing wrong - editing the config file and putting the OLD pma password in it's place before doing the ebuild config thingy. Maybe a note on the ebuild saying don't edit the config until this is done? well, portage doesnt overwrite your config file by default, you had to tell it to do so ... it isnt 100% no obvious that when doing so you overwrite the admin password, but we're not exactly in the business of explaining config files to people ... No you mis-understand - this is what I meant 1. emerge phpmyadmin 2. etc-update (-5 to merge both files) 3. edit /etc/phpmyadmin/config.inc.php to change pma's password, disable warning and enable compression 4. ebuild foo bar config Step three is what causes the error in my case. Avoiding step 3 gives works fine and editing the config file after is fine. Why this is the case I don't know, but a note on the ebuild to state "don't edit the config file before ebuild foo bar config" wouldn't go amiss as the reason why I did this was to change pma's password to the current one I had manually set - which is standard for the rest of the PHP/mysql apps I have (horde, prelude-nids, piwi). I solved this issue with grabbing the right file for the ebuild config after emerging it. Category for php should be 'dev-db' and not 'phpmyadmin...' as displayed in the info text after emerging phpmyadmin. Eduard gentoo@ewhome.de |