LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-30-2004, 01:18 PM   #1
vladimir@ares
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:
Quote:
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:
Quote:
bind address = *
and
Quote:
#skip-networking
plz help me out, i've been googling for a few days now, and i really can't figure it out...

Thx

VlaDiMiR
 
Old 12-30-2004, 05:38 PM   #2
vladimir@ares
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, 03:00 AM   #3
alitrix
Member
 
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
 
  


Reply



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 10:37 AM
phpmyadmin login issues basq3 Linux - Software 10 04-21-2005 01:46 AM
phpMyadmin riluve Linux - Software 4 02-13-2005 05:04 PM
phpMyAdmin login rejection as root ??? cdrobsonjr Linux - Software 2 12-01-2004 09:12 PM
phpMyAdmin Help Ascis Linux - Newbie 2 08-15-2004 06:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:39 AM.

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