Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7879879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:00:19+00:00 2026-06-03T04:00:19+00:00

I installed MySQL and was playing around with the password settings trying to get

  • 0

I installed MySQL and was playing around with the password settings trying to get WordPress to connect to it. In doing so, I seem to have hashed my root password and now cannot login.

I’m trying to reset the password by running

/etc/init.d/mysqld stop

Then

mysqld_safe --skip-grant-tables

Which outputs

Starting mysql daemon with databases from /var/lib/mysql

But then does nothing. It neither succeeds nor fails. I’ve not got any databases setup so I’d be happy to remove and reinstall mysql if necessary but I tried that to no avail. How can I get back in?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:00:20+00:00Added an answer on June 3, 2026 at 4:00 am

    mysqld_safe is the command to start the mysql engine. It’s not supposed to do or show anything after the line saying that it’s started mysql. Once you’ve run mysqld_safe, the next step is to run mysql. Because you started mysqld with --skip-grant-tables you won’t need to specify a username or password.

    You can then give the command to reset root’s password. For instructions on how to set a password, see http://dev.mysql.com/doc/refman/5.0/en/set-password.html .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to connect to MySQL database over a network. I have installed
I Have Installed mysql-server as root with command : sudo apt-get install mysql-server i
I'm trying to get away from using Mamp, so have recently installed mysql, edited
I'm trying to get mysql gem installed for use on rails, using jruby, can't
I'm trying to get the mysql gem installed with a fresh install of Snow
I have installed mySQL using sudo apt-get install mySQL-server then i have installed libmysqlclient15-dev
I have installed MySQL server 5 on redhat linux. I can't login as root
I have installed Mysql 5.1 on Mac OS X 10.7 Lion. For some reason,
I have MySQL running with the ASP Membership Schema I have installed the connector,
i've installed mySQL .. i entered my password , but i can't remember they've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.