Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nightmare with MySQL and PHPAdmin.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mgillespie
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 170

PostPosted: Tue Feb 03, 2004 11:19 pm    Post subject: Nightmare with MySQL and PHPAdmin. Reply with quote

I did an emerge this evening, and upgraded myPHP and some other stuff, anyways, I had some cfg conflicts to sort out, and I carelessly did a etc-update.

I now cannot logon to mySQL database usign PHPMyAdmin.

I get the following:

Code:
Server localhost
Error

MySQL said:
#1045 - Access denied for user: 'pma@localhost' (Using password: YES)


Anyways, the etc-update I messed up, there were changes to the 2x phpmyadmin files, in particlar: /etc/phpmyadmin/mysql-setup.sql

The changed involved the IDENTIFIED BY '324531421312532214'; line, where the number changed.

How can I straighten all this mess out? Thanks....
Back to top
View user's profile Send private message
radulucian
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 151
Location: Bucharest Romania

PostPosted: Tue Feb 03, 2004 11:31 pm    Post subject: here Reply with quote

in /etc/phpmyadmin/config.inc.php you have two lines defining
controluser = pam
and controlpass = 'somenumbers'
you MUST set the controlpass to the one that is now registered with mysql. it may still be the old one, because i think you need to execute the mysql-setup.sql in order to get the new one working.

if you cannot figure out which one is it, log into your mysql server and set the password for pma again or use 'root' and no pass for your controluser in config.inc.php of phpmyadmin
_________________
--------------------------
i am gen2 fan too
noone clicks links in the signature :D
--------------------------
Back to top
View user's profile Send private message
mgillespie
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 170

PostPosted: Wed Feb 04, 2004 6:05 pm    Post subject: Reply with quote

Thanks, that fixed it....

I'm not sure I remember playing around with that config.inc.php last time I set it up, it may have been automatic...
Back to top
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 654
Location: Canada

PostPosted: Mon Jul 26, 2004 12:56 am    Post subject: Reply with quote

I would like to thank you...

I really needed to get phpmyadmin work ;)

Thanks
_________________
http://tilde.club/~geforce/
Back to top
View user's profile Send private message
tomga
n00b
n00b


Joined: 13 Jul 2002
Posts: 68

PostPosted: Wed Jul 28, 2004 2:16 pm    Post subject: Reply with quote

try

mysql -p < /usr/share/webapps/phpmyadmin/2.5.7_p1/sqlscripts/mysql/2.5.7_p1_create.sql

and then restart mysql

should help with version 2.5.7_p1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum