I want to resolve MySQL boot error: 1045 with XAMPP

Asked 2 years ago, Updated 2 years ago, 119 views

Currently, I am trying to install XAMPP and launch MySQL by referring to the reference book "PHP that I can understand easily".

ERROR1045(28000): Access denied for user '2170145' '@'localhost' (using password: No)

MySQL fails to start with .Please tell me how to deal with it

mysql xampp

2022-09-30 16:46

1 Answers

grant all privileges on *.* to 'username' @ 'hostname' identified by 'password name' with grant option

After creating a user with full privileges in and entering the mysql-u username-p password, you were able to connect.

There is a site that I used as a reference, but I don't know because I deleted the history.

This post was posted as a community wiki based on @kbayashi's comments.


2022-09-30 16:46

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.