LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-11-2016, 07:51 AM   #1
Scotspaul
LQ Newbie
 
Registered: Aug 2016
Posts: 4

Rep: Reputation: Disabled
Lost PhpMyAdmn Password


Hello Team
i wonder if anyone could help me
I seem to have locked myself out phpmyadmin and forgot password
i get this message now
Forbidden
You don't have permission to access /phpmyadmin/ on this server.
I run centos hosting shoutcast streams
Can anyone give me some beginners advice please?
thank you in advance
 
Old 08-11-2016, 09:05 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,173
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Quote:
I seem to have locked myself out phpmyadmin and forgot password
i get this message now
Forbidden
You don't have permission to access /phpmyadmin/ on this server.
You are not prompted for a password. You get the above error from apache, meaning that there is an error in phpmyadmin configuration.
You don't provide many details, but perhaps you need to just add your IP in the phpmyadmin config file.
Take a look here to see what you need to do.

Regards
 
Old 08-11-2016, 04:17 PM   #3
Scotspaul
LQ Newbie
 
Registered: Aug 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi Bathory
My ip changes on an almost daily basis with sky
ive setup a dns client to account for this and set a domain as my ip
could i use the domain name instead in the config file?
 
Old 08-11-2016, 04:34 PM   #4
Scotspaul
LQ Newbie
 
Registered: Aug 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
ive got to the login stage now, how can i recover the password
 
Old 08-11-2016, 05:09 PM   #5
Scotspaul
LQ Newbie
 
Registered: Aug 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
i tried these steps but didnt work
http://askubuntu.com/questions/65536...e-and-password
 
Old 08-12-2016, 01:27 AM   #6
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
It's important to understand that phpmyadmin is only an interface to a mysql database (or mariadb or whatever). So there's never actually a "phpmyadmin password", but a mysql password and an apache password.

So if there's a pop-up prompting you for the password, then that's most probably Apache which is asking for a password. And if that's the case, then probably some admin (or yourself) set it up with htpasswd or some other tool.

So first of all, do you actually get to phpmyadmin or do is there a pop-up in the middle asking for the login credentials?

If you can't log into the mysql database, then try it through the command line. What user are you using? Is the mysql admin? (perhaps the root).

try, for example
mysql -u root -p
 
Old 08-12-2016, 01:51 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,173
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Quote:
Originally Posted by Scotspaul View Post
Hi Bathory
My ip changes on an almost daily basis with sky
ive setup a dns client to account for this and set a domain as my ip
could i use the domain name instead in the config file?
Sure you can use the hostname instead of the IP.


Quote:
ive got to the login stage now, how can i recover the password
The password in question is the password of the mysql root user. You should have given one when you installed mysql


Quote:
i tried these steps but didnt work
http://askubuntu.com/questions/65536...e-and-password
Since you're running Centos you may follow this post

Regards
 
  


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
Linux 2.6.15.1 The password lost , RESET PASSWORD ANDYCHAN Linux - General 2 08-18-2012 08:05 AM
Lost Password lawashington Linux - Newbie 1 05-23-2012 07:32 PM
I have lost my password. can you help me to recover my password in ubuntu croosnaya Linux - Newbie 4 04-17-2012 06:52 PM
[SOLVED] WD Elite - Lost Password - How -To Remove the lost password? fixcom1 Linux - General 3 03-06-2011 05:23 PM
Lost Password Hexadecimal Red Hat 3 05-18-2005 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:49 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