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

Bug 58133

Summary: phpmyadmin error log-in after upgrade
Product: Gentoo Linux Reporter: Joseph <syscon780>
Component: New packagesAssignee: Tom Payne (RETIRED) <twp>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joseph 2004-07-23 16:31:26 UTC
After upgrading to phpmyadmin-2.5.7_p1 I get an error when I try to log-in:
#1045 - Access denied for user: 'pma@localhost' (Using password: YES)

When I try to run ebuild I get another error:
ebuild /var/db/pkg/dev-db/phpmyadmin-2.5.7_p1/phpmyadmin-2.5.7_p1.ebuild config
/usr/sbin/ebuild.sh: line 1337: pkg_config: command not found

Reproducible: Always
Steps to Reproduce:
1.ebuild /var/db/pkg/dev-db/phpmyadmin-2.5.7_p1/phpmyadmin-2.5.7_p1.ebuild config
2.
3.

Actual Results:  
/usr/sbin/ebuild.sh: line 1337: pkg_config: command not found


Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r6)
=================================================================
System uname: 2.6.7-gentoo-r6 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://206.75.217.180/ ftp://206.75.217.205/
ftp://206.75.217.181/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dvd encode esd
foomaticdb gdbm gif gpm gtk gtk2 gtkhtml guile imlib java jpeg kde libg++ libwww
mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib
perl png postgres ppds python qt quicktime readline sdl slang spell ssl svga
tcpd tetex tiff truetype x86 xml2 xmms xv zlib"
Comment 1 Tom Payne (RETIRED) gentoo-dev 2004-07-24 02:30:05 UTC
pkg_config no longer exists for this package.

From the messages printed during installation:


To complete installation, you must

1. Update MySQL's grant tables and the pmadb database:
     mysql -u root -p < /usr/share/webapps/phpmyadmin/2.5.7_p1/sqlscripts/mysql/2.5.7_p1_create.sql
2. Reload MySQL:
     /etc/init.d/mysql restart

If you are upgrading from an earlier version and are using phpMyAdmin's
features for master/foreign tables be sure to read
  http://localhost/phpmyadmin/Documentation.html#col_com
You will need to perform the ALTER TABLE step yourself.

Finally, point your browser to http://localhost/phpmyadmin/.


 * One or more files have been config protected
 * To complete your install, you need to run this command:
 * 
 *   CONFIG_PROTECT="/var/www/localhost/htdocs/phpmyadmin" etc-update


Follow these steps, including the etc-update, and if that doesn't work then re-open the bug.

Regards,

Tom
Comment 2 Joseph 2004-07-24 09:14:35 UTC
Thank Tom this was the solution.  After removing deleting the phpmyadmin folder and reinstalling phpmyadmin I saw this message and I realized this was the problem.  
"From the messages printed during installation:"
...
...
I did not see that message as the package show up for update with all other packages during overnight update and the message scroll by.  So the correct solution is either store these messages in some kind UPDADTE_README.TXT and point me to it after all is finished after "emerge -uDav world"
or pause the installation to let me complete the steps.

Regards,
Joseph