Solved

phpMyadmin login password lost- need to reset

Posted on 2004-09-05
4
1,413 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:
Umesh 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:Umesh
ID: 12024022
any updates?
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

691 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