(1146, Table 'django.django_session' doesn't exist)
https://blog.csdn.net/zb0567/article/details/104453634
核查原因,发现是django_migrations table ((1064, "You have an error in your SQL syntax; check the manual that corresp 导致,所以,一路一路查看搞定。。。
而这个原因数据库版本太低。。。。。而造成表没有同步完成,就会出现Table 'django.django_session' doesn't exist
从5,5更新到5.7.28,通过
(venv) D:\zz\PycharmProjects\zilv>python manage.py migrate
Operations to perform:Apply all migrations: admin, auth, autonomy, contenttypes, sessions
Running migrations:Applying contenttypes.0001_initial... OKApplying auth.0001_initial... OKApplying admin.0001_initial... OKApplying admin.0002_logentry_remove_auto_add... OKApplying admin.0003_logentry_add_action_flag_choices... OKApplying contenttypes.0002_remove_content_type_name... OKApplying auth.0002_alter_permission_name_max_length... OKApplying auth.0003_alter_user_email_max_length... OKApplying auth.0004_alter_user_username_opts... OKApplying auth.0005_alter_user_last_login_null... OKApplying auth.0006_require_contenttypes_0002... OKApplying auth.0007_alter_validators_add_error_messages... OKApplying auth.0008_alter_user_username_max_length... OKApplying auth.0009_alter_user_last_name_max_length... OKApplying autonomy.0001_initial... OKApplying sessions.0001_initial... OK
搞定,收工
最后还要再重新创建用户,因为原来的用户不在mysql5.7.28里面
(1146, Table 'django.django_session' doesn't exist)相关推荐
- 解决“(1146, “Table ‘mydb.django_session‘ doesn‘t exist“)”报错的方法
解决"(1146, "Table 'mydb.django_session' doesn't exist")"报错的方法 参考文章: (1)解决"(1 ...
- django之 报错(1146, “Table ‘demo2.web‘ doesn‘t exist“)
在启动django框架运行之后,我进行测试用户的登录功能模块, 我输入正确的用户名和密码以及验证码之后,本来正常情况时之间跳转到主页面的, 但是发现跳转到主页面不成功,报的信息是"登录账号不 ...
- Ubuntu 使用phpmyadmin,报错#1146 - Table ‘phpmyadmin.pma_table_uiprefs' doesn't exist
cd /etc/phpmyadminsudo vim config.inc.php 修改phpmyadmin的配置文件config.inc.php $cfg['Servers'][$i]['table ...
- mysqld_exporter报错Error 1146: Table 'my2.status' doesn't exist
grafana安装mysql simple dashboard后提示Templating init failed Error 1146: Table 'my2.status' doesn't exis ...
- laravel-admin Base table or view not found: 1146 Table ‘hyzt.brands‘ doesn‘t exist (SQL: select coun
错误:Base table or view not found: 1146 Table 'hyzt.brands' doesn't exist (SQL: select count(*) as agg ...
- SQLSTATE[42S02]: Base table or view not found: 1146 Table 'blog.user' doesn't exist (SQL: select * f
PHP 主流框架 laravel 可能在使用时会出现一些小问题: 比如:SQLSTATE[42S02]: Base table or view not found: 1146 Table 'blog ...
- navicat for mysql执行sql语句报错: [Err] 1146 - Table ‘performance_schema.session_status‘doesn‘t exist 解决办法
navicat for mysql执行sql语句报错: [Err] 1146 - Table 'performance_schema.session_status' doesn't exist 解决办 ...
- 1146 -table 'performance_schema.session_variables' donesn't exist解决方案
1146 -table 'performance_schema.session_variables' donesn't exist 报错原因 解决方案 报错原因 用工具连接数据库时报错 **1146 ...
- Bug? #1146 - Table 'xxx.xxxxx' doesn't exist
Bug? #1146 - Table 'xxx.xxxxx' doesn't exist
最新文章
- 漫谈回溯(未完待续)
- 【算法题】天平砝码称重
- 【深度学习】2个经典的练手CNN源码与MNIST数据集测试结果
- DL框架:主流深度学习框架(TensorFlow/Pytorch/Caffe/Keras/CNTK/MXNet/Theano/PaddlePaddle)简介、多个方向比较、案例应用之详细攻略
- hibernate教程--抓取策略详解
- pricing data of Service order is copied from BP master data
- 大话数据结构 -07-1 图的定义、抽象数据类型与存储结构
- java关键字说明_JAVA常用关键字及其用法简要说明
- 2018蓝桥杯C++A组:三角形面积(海伦公式;向量的叉积)
- A2D JS框架 - loadScript实现
- 【故障诊断预测】基于matlab FFT与DBN轴承故障诊断预测【含Matlab源码 1741期】
- 计算机连接双硬盘,电脑如何安装双硬盘
- js传递参数时类型错误
- PS 一寸照换底
- sns.relplot
- vue实现不同页面显示不同标题
- 搜狗输入法账户无法同步问题
- RT-Thread物联网操作系统介绍:5、串口打印
- 2017 阿里巴巴矢量图标库 导入所选图标到jsp页面步骤
- Day109.尚医通:集成Nacos、翻译字段、医院列表分页条件、下拉列表查询、医院状态、医院详情
热门文章
- 【日常学习】【二分】【单调队列优化线性DP】codevs3342 绿色通道题解
- What does the CS_CLASSDC CS_OWNDC class style do?
- educoder算法设计与分析 实验五回溯法
- 搭建个人网站(2):Github和Vercel建站以及配置DNS
- solr直接对pdf、word等建索引
- 秋招教学: 蛋黄派教程
- [Windows]_[系统内部版本号对照表]
- 青龙面板之今日油条(更新)
- 露脸了,大衣哥新儿媳科目三一次性通过,开车技术比小伟强多了
- mysql 查询案例dept,emp表内数据