Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Db error: "Access denied for user 'root'@'localhost' (using password: NO)" Error code: "1045" #323

Open
Malovito opened this issue Sep 19, 2023 · 1 comment

Comments

@Malovito
Copy link

Db error: "Access denied for user 'root'@'localhost' (using password: NO)" Error code: "1045" helpppp

@givanz
Copy link
Owner

givanz commented Sep 19, 2023

Hi

What server are you using, do you use xampp or shared hosting with cpanel?

Can you check if you can connect to mysql with root without password?

Probably root has a password and it doesn't work without password.

You can either create a new user and use it to connect to the database or reset the root password.

Alternatively you can use sqlite that doesn't need configuration instead of mysql.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants