windows64-django1.8.11 migrate默认的installed_apps报错

使用的是mysql5.6,mysqldb,python2.7

在django官网上下载了django1.8.11.tar.gz的文件安装,解压的时候出现cannont create symbolic link的错误提示,我忽略了这些错误

然后按照新建了一个django项目,修改了settings.py的数据库设置后,用migrate命令发生错误

图片描述
图片描述

阅读 2.6k
1 个回答
新手上路,请多包涵

Your database user does not have the neccessary access rights. The error message

"INDEX command denied to user 'yy'@'localhost' for table 'django_session'"

indicates this.

For development you might want to add full access using this statement

GRANT ALL PRIVILEGES ON first.* TO 'yy'@'localhost' IDENTIFIED BY '123456';

链接描述

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题