mysql_exceptions.OperationalError: (1045, “Access denied for user 'root'@'localhost' (using password: YES)”)

前端 未结 7 1697
长情又很酷
长情又很酷 2020-12-14 10:06

I\'ve started working with django, and here is the error on \'runserver\' after setting up \'DATABASES\' in settings.py

mysql_exceptions.OperationalError: (1         


        
7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-14 10:24

    your DB doesn't recognize your root user and password. If you can go to the phpmyAdmin and try to create a different user and password and assign to the DB, if that is not working try to create but console with create user, and grant all.

提交回复
热议问题