V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  lixuda  ›  全部回复第 6 页 / 共 16 页
回复总数  307
1 ... 2  3  4  5  6  7  8  9  10  11 ... 16  
2020-08-12 13:33:24 +08:00
回复了 ryanhui 创建的主题 硬件 小米出了透明电视, RMB 49999, 而我觉得赛博朋克快来了
@WebKit 不是,就一根 led 屏幕,根据转速算出,每次位置的显示内容
2020-08-11 11:52:18 +08:00
回复了 lixuda 创建的主题 Flask 如何优雅升级 Python web 程序
@no1xsyzy 打算用 systemd 试试看
2020-08-11 09:30:41 +08:00
回复了 lixuda 创建的主题 Python 为什么 Python peewee 第一次运行时间很长
@ClericPy 用 connect("mysql+pool: 连接池方式链接,没有加载的时间了
2020-08-11 09:06:42 +08:00
回复了 lixuda 创建的主题 Flask 如何优雅升级 Python web 程序
@no1xsyzy 图简单方便 就用 nohup gunicorn
2020-08-08 15:03:07 +08:00
回复了 lixuda 创建的主题 MySQL mysql 删除一条数据后显示这个,大佬们这个怎么解决?
@taogen 但是我的确需要 authorid 字段来删除,如何避免?
2020-08-08 11:20:05 +08:00
回复了 lixuda 创建的主题 MySQL mysql 删除一条数据后显示这个,大佬们这个怎么解决?
我把配置文件改 binlog_format = MIXED
错误就消失了。

数据表:

```
DROP TABLE IF EXISTS pre_forum_post;
CREATE TABLE pre_forum_post (
pid int(10) unsigned NOT NULL,
fid mediumint(8) unsigned NOT NULL DEFAULT '0',
tid mediumint(8) unsigned NOT NULL DEFAULT '0',
`first` tinyint(1) NOT NULL DEFAULT '0',
author varchar(15) NOT NULL DEFAULT '',
authorid mediumint(8) unsigned NOT NULL DEFAULT '0',
`subject` varchar(80) NOT NULL DEFAULT '',
dateline int(10) unsigned NOT NULL DEFAULT '0',
message mediumtext NOT NULL,
useip varchar(15) NOT NULL DEFAULT '',
`port` smallint(6) unsigned NOT NULL DEFAULT '0',
invisible tinyint(1) NOT NULL DEFAULT '0',
anonymous tinyint(1) NOT NULL DEFAULT '0',
usesig tinyint(1) NOT NULL DEFAULT '0',
htmlon tinyint(1) NOT NULL DEFAULT '0',
bbcodeoff tinyint(1) NOT NULL DEFAULT '0',
smileyoff tinyint(1) NOT NULL DEFAULT '0',
parseurloff tinyint(1) NOT NULL DEFAULT '0',
attachment tinyint(1) NOT NULL DEFAULT '0',
rate smallint(6) NOT NULL DEFAULT '0',
ratetimes tinyint(3) unsigned NOT NULL DEFAULT '0',
`status` int(10) NOT NULL DEFAULT '0',
tags varchar(255) NOT NULL DEFAULT '0',
`comment` tinyint(1) NOT NULL DEFAULT '0',
replycredit int(10) NOT NULL DEFAULT '0',
position int(8) unsigned NOT NULL AUTO_INCREMENT,
PRIMARY KEY (tid,position),
UNIQUE KEY pid (pid),
KEY fid (fid),
KEY authorid (authorid,invisible),
KEY dateline (dateline),
KEY invisible (invisible),
KEY displayorder (tid,invisible,dateline),
KEY `first` (tid,`first`)
) TYPE=MyISAM;

```

SQL 语句:

DELETE FROM pre_forum_post WHERE `authorid`=1111118

是不是要修改 SQL
2020-08-05 10:54:19 +08:00
回复了 lixuda 创建的主题 MySQL mysql 源数据是 gbk 现在想转 utf-8,这样操作是否可行?
@realpg 结构我直接改 charset,数据导出再导入
2020-08-02 09:19:51 +08:00
回复了 lixuda 创建的主题 Python 为什么 Python peewee 第一次运行时间很长
@black11black 应该是我对 peewee 不熟,不知道哪里出问题
2020-08-01 21:45:51 +08:00
回复了 lixuda 创建的主题 Python 为什么 Python peewee 第一次运行时间很长
@sujin190 已索引的
2020-08-01 11:51:10 +08:00
回复了 lixuda 创建的主题 Python 为什么 Python peewee 第一次运行时间很长
@pabupa localhost,127 测试下也一样情况
2020-08-01 10:04:18 +08:00
回复了 wb13 创建的主题 Python 关于 peewee 和 sqlalchemy 比较
@xi4oh4o peewee 性能不行吗?
2020-07-06 10:52:27 +08:00
回复了 autoname 创建的主题 Java 有没有爬虫大佬,问个模拟登录的问题。关于 discuz
@bzj 这个 post 是什么工具?谢谢,是浏览器自带吗?
@o00o 也是,黑也是够黑,一个登录接口就要收费验证。
@o00o 公众号需要认证吗?
@just1 需要认证的服务号吧?
@hlwjia 也需要认证的服务号吧?
2020-06-11 12:49:17 +08:00
回复了 gaigechunfeng 创建的主题 程序员 怒发一贴: go web 框架选哪个
@gaigechunfeng flask 不行吗?
2020-05-19 12:42:32 +08:00
回复了 lixuda 创建的主题 Python flask 本地环境 测试 post 加载慢
@Te11UA 已贴上
@collery 涂鸦的?
@froyobin 我们有在做他们产品,就是长连接,心跳包,网络方面不懂,我们是插座,灯泡生产厂家
1 ... 2  3  4  5  6  7  8  9  10  11 ... 16  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2889 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms · UTC 14:34 · PVG 22:34 · LAX 07:34 · JFK 10:34
Developed with CodeLauncher
♥ Do have faith in what you're doing.