Solved

mysql root password forgot

Posted on 2009-04-15
1
373 Views
Last Modified: 2012-05-06
Hi all,
            My os is RHEL5.
I am using mysql for database.
when i did
#mysql -u root -p
it asks for password
i forgot my password. when i put anything else it gives the message

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
can any body help me
any help will be appreciable
jatender
0
Comment
Question by:JATENDER1979
[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
1 Comment
 
LVL 25

Accepted Solution

by:
Tomas Helgi Johannsson earned 500 total points
ID: 24146380
    Hi!

Follow this in the manual to reset the root password
http://dev.mysql.com/doc/refman/5.1/en/resetting-permissions.html

Regards,
   Tomas Helgi
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

626 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