256 Kilobytes

Answers in Databases | By Some Guy

Published

539 views, 0 RAMs, and 1 comment

Tags: MySQL, Localhost, Servers, Access, Admin, Programming, Root

Profile Photo - Some GuySome GuyBasic Subscriber

My new job using MySQL and I've been trying to get used to it. But I keep running into an access error and I don't know why. The error basically says: "Access denied for user 'root'@'localhost'". Why is this happening and how do I fix it?

Download more RAM. 🐏 ⨉ 0Posted by Some Guy 2 years ago 🕓 Posted at 16 December, 2018 09:43 AM PST

This is a debug account.

Profile Photo - UnivaUnivaAuthor

Try out the following steps to overcome this issue:

  1. Find mysql related entries from system sudo find / -name mysql
  2. Remove all mysql related entries by doing rm -rf <mysql_entries_above>
  3. Download latest mysql-server and intall it.
  4. You will be promted with a default password which you need to copy.
  5. Run mysql_secure_installation and paste that password when asked for root.
  6. Subsequently follow the steps and change admin password when prompted for.

Download more RAM. 🐏 ⨉ 0Posted by Univa 2 years ago 🕓 Posted at 12 April, 2019 11:34 AM PDT

Hello.

Post a New Comment

Do you like having a good time?

Register an Account

You can also login to an existing account or reset your password. All use of this site is subject to the terms of service and privacy policy.

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account

Answers— Read More

Find more related content below!