
报错处理
大数据与数据分析
这个作者很懒,什么都没留下…
展开
-
[django] Exception Value: DatabaseWrapper objects created in a thread can only be used in that same
[django] Exception Value: DatabaseWrapper objects created in a thread can only be used in that same thread.问题描述:使用django框架实现的web后端服务,使用orm语句插入数据时报错,报错信息如下;django.db.utils.DatabaseError: Database...原创 2020-03-26 11:39:17 · 2337 阅读 · 0 评论 -
[mysql] linux中mysql tar包离线安装
[mysql] linux中mysql tar包离线安装1.确保mysql安装之前有libaio依赖yum search libaio yum install libaio2.下载mysql的tar离线包下载页面选择系统,linux-Generichttps://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.19-linux-glibc2....原创 2020-03-21 20:06:03 · 513 阅读 · 2 评论 -
[error] [mysql] 1251 - Client does not support authentication protocol requested by server
[error] [mysql] 1251 - Client does not support authentication protocol requested by server客户端使用navicat for mysql。本地安装了mysql 8.0。但是在链接的时候提示:1251 - Client does not support authentication protocol req...原创 2020-03-21 20:04:23 · 461 阅读 · 0 评论 -
[error] [mysql]:"1034 Incorrect key file for table 'table_name'; try to repair it"
[error] [mysql]:“1034 Incorrect key file for table ‘table_name’; try to repair it”现象描述: mysql中大数据表执行alter增加字段时,/tmp的目录爆满,并且报错"1034 Incorrect key file for table ‘table_name’; try to repair it"。故障分析:...原创 2020-03-21 20:03:18 · 5547 阅读 · 1 评论 -
[mysql] [python] "MySQL server has gone away (BrokenPipeError(32, ‘Broken pipe’))
[mysql] [python] ["MySQL server has gone away (BrokenPipeError(32, ‘Broken pipe’))]max_allowed_packet mysql的值重新设置下,我设置为1g就能成功了。首先登陆mysql查看当前该值的大小。show variables like ‘%max_allowed_packate%’修改其大小为1...原创 2020-03-21 20:01:09 · 1520 阅读 · 2 评论 -
[pandas] MemoryError: Unable to allocate array with shape (x, x) and data type float64
[pandas] MemoryError: Unable to allocate array with shape (x, x) and data type float64错误信息MemoryError: Unable to allocate array with shape (86, 1270780) and data type float64原因分析据传 [1] 是因为触发了系统的 ...转载 2020-03-21 19:59:49 · 8464 阅读 · 4 评论 -
[pandas] MemoryError: Unable to allocate array with shape (x, x) and data type float64
[Linux] [Python] MemoryError: Unable to allocate array with shape (x, x) and data type float64错误信息MemoryError: Unable to allocate array with shape (86, 1270780) and data type float64原因分析据传 [1] 是因...转载 2020-03-19 10:48:43 · 1292 阅读 · 0 评论