LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 08: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, 10:05 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,900

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
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, 05: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, 05: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, 06: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, 02:27 AM   #6
vincix
Member
 
Registered: Feb 2011
Distribution: Centos 7
Posts: 693

Rep: Reputation: 69
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, 02:51 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,900

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
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


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

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

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