This error is quite common while you attempt to log in to your MySQL for the first time.
Personally, I too confronted this concern a number of instances, possibly as a result of we weren’t following the proper option to set up MySQL, or we forgot to set a password, or else we didn’t get the choices to set a password.
Equally, there could also be many different causes for the above error, however the resolution to this error is fairly easy and straightforward. On this article, you’ll discover a manner to resolve 1698 (28000) Entry denied for consumer ‘root’@’localhost’.
There are two methods to resolve this error. First, you will note a easy and fewer time-consuming technique. If the primary technique didn’t work in your case, then go to the second.