0

i'm using xampp and vagrant to run my project but whenever i try to makemigration or run the server i got this error

django.db.utils.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")

here's my connection data

enter image description here

enter image description here

and i'm using vagrant to run my project

full error:

enter image description here so what's the error?

Nou
  • 33
  • 6

1 Answers1

0

If you're lauching it from command line, you may have to define env var in that command line (see here)

  • already defined – Nou May 19 '22 at 15:14
  • For answer's with link(s), it is advisable to highlight the important details or provide a summary regarding what you found in the link you provided. Because time will come that the link will be unavailable/invalid. – Kuro Neko May 20 '22 at 01:26