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

 mmmmGi_626 发布于 2022-10-29 17:39

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

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

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


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';
    

    链接描述

    2022-10-31 00:16 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有