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

mysql数据库配置对了也连接不上呢? #80

Open
cnwp007 opened this issue Oct 28, 2024 · 1 comment
Open

mysql数据库配置对了也连接不上呢? #80

cnwp007 opened this issue Oct 28, 2024 · 1 comment

Comments

@cnwp007
Copy link

cnwp007 commented Oct 28, 2024

我的操作

在www目录下

`python manage.py makemigrations && python manage.py migrate`

在/aswan/config/develop.py配置的redis,mysql.mysql使用命令行连接可以.
报错
File "/usr/local/lib/python3.7/site-packages/pymysql/connections.py", line 684, in _read_packet packet.check_error() File "/usr/local/lib/python3.7/site-packages/pymysql/protocol.py", line 220, in check_error err.raise_mysql_exception(self._data) File "/usr/local/lib/python3.7/site-packages/pymysql/err.py", line 109, in raise_mysql_exception raise errorclass(errno, errval) django.db.utils.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: YES)")

@happinesshub
Copy link

Hello.
have you solved your issue?

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