在执行python manage.py runserver 0.0.0.0:8000出错
来源:17-11 centos7 下通过uwsgi,nginx部署django应用
Waislin
2020-05-13
错误显示为:
File “/root/.virtualenvs/mxonline/lib/python3.7/site-packages/MySQLdb/connections.py”, line 179, in init
super(Connection, self).init(*args, **kwargs2)
django.db.utils.OperationalError: (1045, “Access denied for user ‘root’@‘localhost’ (using password: YES)”)
写回答
1回答
-
bobby
2020-05-14
报错很明显,mysql无法连接 用户名密码错误了
022020-05-20
相似问题