使用的是mysql5.6,mysqldb,python2.7
在django官网上下载了django1.8.11.tar.gz的文件安装,解压的时候出现cannont create symbolic link的错误提示,我忽略了这些错误
然后按照新建了一个django项目,修改了settings.py的数据库设置后,用migrate命令发生错误
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';
链接描述