Solved

phpMyadmin login password lost- need to reset

Posted on 2004-09-05
4
1,409 Views
Last Modified: 2008-03-04
I have a Cobalt RAQ 4 web server that is running Red Hat 7.3 Apache Web Server 1.36
512MB RAM, 60GB HD, 500GB Bandwidth,PHP4.1.2 MySQL 3.23 and phpMyAdmin

I have a login screen that had the Window for access to my phpMyadmin with the password remembered. Today something else got accidentally typed into the password box and now I cannot open phpMyAdmin and I have looked all over for the admin password but cannot locate. I do have the root user password for MYSQL but that is not the same as the phpMyAdmin password. How do I reset the admin login password to use phpMyAdmin again or reset so that it does not need a password. I am a self-taught PC user and not strong in MYSQL but can follow instructions.            
0
Comment
Question by:nspolley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 26

Accepted Solution

by:
ushastry earned 500 total points
ID: 11987033
Hi,

First check the config.inc.php then look for a line similar to this..(there should be more lines similar to this.. find out which one is real
)


$cfgServers[1]['user']          = 'userName';      // Here comes your phpmyadmin username..
$cfgServers[1]['password']      = '123456';          // Confirm whether this is your password

If this solves your problem then fine, otherwise you have to reset the password of phpmyadmin..

login using root ( I guess you have stored phpmyadmin user info in mysql database..user name is phpmyadmin then follow these steps...

$mysql -uroot -p ( would prompt for password)
use mysql

update user set password=password('yoursecretpassword') where user='phpmyadmin'

that's it..


Hope this helps!


0
 
LVL 26

Expert Comment

by:ushastry
ID: 12024022
any updates?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question