Using MySQL with Django - Access denied for user '@'localhost

后端 未结 7 2139
臣服心动
臣服心动 2020-12-07 17:46

So I\'m learning Django (1, 3, 1, \'final\', 0) through this resource: http://www.djangobook.com/en/2.0/chapter05/

I installed \'mysql-server\' and \'python-mysqldb\

7条回答
  •  一整个雨季
    2020-12-07 18:39

    If you changed the database password and updated settings.py, you will also have to restart the wsgi.py process, for example by restarting apache.

提交回复
热议问题