MySQL Forums
Forum List  »  MySQL Workbench

Re: Access denied for user 'root'@localhost (using password: YES)
Posted by: Peter Brawley
Date: December 21, 2020 05:45PM

> I'm trying to register a username, not reset a password,

MySQL starts with user "root" and all privs. You've abandoned the problem of not being able to login as root? Why?

> but I assume it's a similar process.

A mistake. Once you are logged in, eg as root, you can Create or Alter a user without having to restart the server. OTOH resetting the password for root raises the special case that you cannot log in; it requires restarting the server with login security disabled as indicated.

> I can't find my config file

Winkey R, services.msc, scroll to the MySQL entry, right-click, examine Properties, the command line there conatains the full path to my.ini.

Options: ReplyQuote

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.