运行 django 测试时拒绝用户访问

问题描述

我的 django 项目从 sqlite3 迁移 -> 在远程服务器上运行的 MysqL。迁移成功完成,站点工作正常,但我在测试时遇到问题:

alex@alex-YOGA11S:~/PycharmProjects/WebgalaxyIdent$ python manage.py test
Creating test database for alias 'default'...
Got an error creating the test database: (1045,"Access denied for user 'FrolovPV'@'%' (using password: YES)")

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)