Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-30-2004, 02:18 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 7

Rep: Reputation: 0
phpmyadmin can't login

I got a problem with mysql on Gentoo 2.6.9

Apache is running perfectly (on port 8000),the same for php
mysql works fine from commandline
i can login with:
mysql -u root -p 'password'
with 'password' my actual password

but when i go to http://localhost:8000/phpmyadmin/
i fill in 'root' and my password, and there seems to be a problem, cause phpmyadmin says "wrong username or password"
and i'm sure it's correct

i changed my my.cnf to:
bind address = *
plz help me out, i've been googling for a few days now, and i really can't figure it out...


Old 12-30-2004, 06:38 PM   #2
LQ Newbie
Registered: Dec 2004
Posts: 7

Original Poster
Rep: Reputation: 0
ok, forget about that, i can't login from the commandline...
'can't connect to mysqld.sock'

i'm really getting pissed about this, don't know what's wrong with it ffs
Old 12-31-2004, 04:00 AM   #3
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Rep: Reputation: 30
Guess php is configure to search for /tmp/mysql.sock (which isn't there) so phpmyadmin won't work

What you can do is:
find / -name mysql.sock
(or you use locate, if the database is up-to-date (you can do that by using `updatedb`))

If you find any (guess it's in /var/run/mysql/mysql.sock), then you can make a link to /tmp/mysql.sock

ln -s /tmp/mysql.sock /var/run/mysql/mysql.sock (ofcourse, if it's there)

This should fix the problem


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
phpmyadmin: can not login quarry_06 Linux - Software 1 04-27-2005 11:37 AM
phpmyadmin login issues basq3 Linux - Software 10 04-21-2005 02:46 AM
phpMyadmin riluve Linux - Software 4 02-13-2005 06:04 PM
phpMyAdmin login rejection as root ??? cdrobsonjr Linux - Software 2 12-01-2004 10:12 PM
phpMyAdmin Help Ascis Linux - Newbie 2 08-15-2004 07:00 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration