LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2009, 02:52 AM   #16
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122

try http://localhost/webdb then
 
Old 04-30-2009, 02:57 AM   #17
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
phpmyadmin problum

when i opend http://localhost/webdb then

i got 403 forbidden page You don't have permission to access /webdb/ on this server.

srinath.m
 
Old 04-30-2009, 03:03 AM   #18
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
phpmyadmin problum

i run setenforce 0 at my terminal

and then http://localhost/webdb/ then

instead of forbidden error the Authantication required dialog coming

A username and password are being requested by http://localhost. The site says: "phpMyAdmin localhost"

asking user name and password

is this username and password are same as my root and srinath or else other

srinath.m
 
Old 04-30-2009, 03:16 AM   #19
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
This is the user and password that has access to your database and that you set in mysql. You can use root though to check.
 
Old 04-30-2009, 03:23 AM   #20
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
phpmyadmin problum

if i give username as root and password "" then wrong username/password acces denaid error i am getting

how to know username and password for this

srinath.m
 
Old 04-30-2009, 03:37 AM   #21
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It's a mysql password. How did you set mysql up?


Can you show

ls -Z /usr/share/phpmyadmin

and

ls -Zd /usr/share/phpmyadmin
 
Old 04-30-2009, 03:42 AM   #22
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
phpmyadmin problum

both

[root@localhost ~]# ls -Z /usr/share/phpmyadmin

ls: cannot access /usr/share/phpmyadmin: No such file or directory


and

[root@localhost ~]# ls -Zd /usr/share/phpmyadmin

ls: cannot access /usr/share/phpmyadmin: No such file or directory

srinath.m
 
Old 04-30-2009, 03:45 AM   #23
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Sorry, replace phpmyadmin with phpMyAdmin-3.1.4-all-languages in both cases above.
 
Old 04-30-2009, 07:16 AM   #24
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
phpmyadmin problum

[root@localhost ~]# ls -Zd /usr/share/phpMyAdmin-3.1.4-all-languages
drwxr-xr-x root root unconfined_ubject_r:admin_home_t:s0 /usr/share/phpMyAdmin-3.1.4-all-languages

i am unable to send [root@localhost ~]# ls -Z /usr/share/phpMyAdmin-3.1.4-all-languages out put becz submission error You have included 100 images in your message. You are limited to using 6 images so please go back and correct the problem and then continue again. is coming

srinath.m
 
Old 04-30-2009, 07:46 AM   #25
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I think you'll fix your selinux issue with

chcon -R system_ubject_r:usr_t /usr/share/phpMyAdmin-3.1.4-all-languages
 
Old 04-30-2009, 07:48 AM   #26
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,534

Rep: Reputation: 132Reputation: 132
seems you have to correct the httpd.conf and set the DocumentRoot to the directory where phpmyadmin resides or am i missing sth?

sorry, i missed a lot of the discussion...

Last edited by j-ray; 04-30-2009 at 07:51 AM.
 
Old 04-30-2009, 07:54 AM   #27
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
phpmyadmin problum

hai,

# chcon -R system_ubject_r:usr_t /usr/share/phpMyAdmin-3.1.4-all-languages is

chcon: failed to change context of `s_attention.png' to `system_ubject_r:usr_t': Invalid argument
chcon: failed to change context of `b_tblexport.png' to `system_ubject_r:usr_t': Invalid argument
chcon: failed to change context of `s_fulltext.png' to `system_ubject_r:usr_t': Invalid argument
chcon: failed to change context of `b_usredit.png' to `system_ubject_r:usr_t': Invalid argument
....
....
....

srinath.m
 
Old 04-30-2009, 08:54 AM   #28
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by j-ray View Post
seems you have to correct the httpd.conf and set the DocumentRoot to the directory where phpmyadmin resides or am i missing sth?

sorry, i missed a lot of the discussion...
Yeah I think you did - we got past that one, but I stil lthink we're on the source version, and that's where half the problems are. Th other half are in the mysql setup.

I'm off for the evening.
 
Old 05-01-2009, 03:22 AM   #29
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Original Poster
Rep: Reputation: 15
Thumbs up phpmyadmin problum

hai,

i got solution for opening phpmyadmin

what i used is

# mysqladmin -u root password srinath

and at http://localhost/webdb it asked username and password

i given username: root and password: srinath

it worked sucessfully.

thanks to you for your suggestions to me to solve this problum

Thanks Srinath.M
 
  


Reply


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
Fedora 9 phpMyAdmin problems after install sneaky Linux - Newbie 9 08-25-2008 11:34 AM
403 Errors with phpmyadmin on Fedora Core 6 Cold Coffee Linux - Server 3 03-06-2008 04:12 AM
fedora and phpmyadmin fuelinjection Linux - General 4 10-17-2005 09:55 PM
mysql / phpmyadmin & fedora fuelinjection Linux - General 2 06-20-2005 11:28 PM
PHPMyAdmin 2.5.1 installation VincentB Linux - Software 3 07-19-2003 05:03 AM


All times are GMT -5. The time now is 05:23 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration