256 Kilobytes

Answers in Databases | By Some Guy

Published 4 months agoSun, 16 Dec 2018 09:43:10 -0800

59 views, 0 RAMs, and 1 comment

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

Profile Photo - Some Guy Some Guy
🗎 3223 🗨 41 🐏 31
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. 🐏 ⨉ 0 Posted by Some Guy 4 months ago 🕓 Posted at 16 December, 2018 09:43 AM PST

This is a patsy account used by the 256 Kilobytes staff to seed content. 

Profile Photo - Univa Univa
🗎 0 🗨 94 🐏 4
Author

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. 🐏 ⨉ 0 Posted by Univa 1 week ago 🕓 Posted at 12 April, 2019 11:34 AM PDT

Hello.

Post a New Comment

To leave a comment, login to your account or create an account.

Do you like having a good time?

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
You can also login to an existing account or recover your password. All use of this site is subject to terms outlined in the terms of service and privacy policy.