Comments (5)
@a8926764
mysql 什么的都装了吧?
建立一个名为 imooc 数据库了吗?
from imooc-django.
mysql安装了,也建立imooc数据库了,也在setting里面配置了
from imooc-django.
from imooc-django.
我搞定了。
解决方法:
1、把你app的migrations下边所有的00开头的文件都删除。
2、删除数据库里面的imooc数据库。
3、重新创建imooc数据库,同时设置编码格式。
CREATE DATABASE 数据库名 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
参考:http://www.bubuko.com/infodetail-1949094.html
from imooc-django.
@a8926764 厉害。
from imooc-django.
Related Issues (20)
- xadmin点击第二级菜单Django Crash. HOT 2
- 问下关于list_filter的问题 HOT 4
- 关于用户和用户组 HOT 5
- qq HOT 1
- 可乐的代码 HOT 1
- 小白龙
- 雷子的代码
- 阿古瓜的代码 HOT 1
- 我大PHP是世界上最好的语言
- 'NoneType' object has no attribute 'has_header' HOT 5
- docker-compose up -d 失败 HOT 2
- ... HOT 1
- Demo Link Will Only Return 500 Page HOT 2
- recipe for target 'migrate' failed
- Cent OS docker 部署成功,怎么在浏览器查看项目?
- 求助HTML原始代码? HOT 1
- docker-compose up -d 出现告警,后边docker-compose exec 出错 HOT 3
- 首页排版乱了
- 执行make migrate时候报错!!!! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imooc-django.