dbaspace
dbaspace
我意思是 用的DDL 在TIDB 执行报错: 查询:CREATE TABLE user2 ( id int not null, name varchar(45) null, primary key(id))) 错误代码: 1105 line 4 column 22 near "" (total length 92) 这个,,,改成我那个就没问题的,,,说明还是TIDB问题
pd ="192.168.21.190:2379,192.168.21.189:2379,192.168.21.187:2379" pd-endpoints ="192.168.21.190:2379,192.168.21.189:2379,192.168.21.187:2379" endpoints ="192.168.21.190:2379,192.168.21.189:2379,192.168.21.187:2379" /usr/local/tidb/bin/tikv-server --config=/usr/local/tidb/bin/tikv.toml 这么启动报错, 配置文件里 就是修改这3种 后面实在没办法就把[pd]的注释了 /usr/local/tidb/bin/tikv-server --config=/usr/local/tidb/bin/tikv.toml --pd="192.168.21.190:2379,192.168.21.189:2379,192.168.21.187:2379" & 这么启动.... 这是启动后配置文件 现在压缩参数也无法使用:#compression-per-level = "lz4:lz4:lz4:lz4:lz4:lz4:lz4" 这个开启也报错.... ``` # TiKV config template # Human-readable big...
在数据同步中,TIDB作为SLAVE,稳定性非常不好,在MYSQL操作一些操作都会出问题,,还需要加强
DDL: CREATE TABLE `mysql_status_history` ( `id` int(10) NOT NULL AUTO_INCREMENT, `server_id` smallint(4) NOT NULL DEFAULT '0', `host` varchar(30) NOT NULL, `port` varchar(10) NOT NULL, `tags` varchar(50) NOT NULL DEFAULT '',...
MYSQL 这么操作没问题,说明这个兼容性问题。
其实我想说的是 MYSQL 操作成功,使用同步到TIDB 就出问题了。
[mysql] 2018/04/05 18:55:55 packets.go:33: read tcp 192.168.21.187:23156->192.168.21.187:4000: i/o timeout 2018/04/05 18:55:55 db.go:139: [error] exec sqls[[REPLACE INTO `db_shop`.`tbl_shop_food_price` (`itemID`,`unitKey`,`groupID`,`shopID`,`bookID`,`bookName`,`foodID`,`foodKey`,`foodCode`,`foodScore`,`unit`,`enUnit`,`price`,`prePrice`,`vipPrice`,`specialPrice`,`specialPrice2`,`specialPrice3`,`specialPrice4`,`specialPrice5`,`specialPrice6`,`settlementProportion`,`foodEstimateCost`,`settlementPrice`,`takeoutPackagingFee`,`minOrderCount`,`unitNote`,`rulePriorityLevel`,`startTime`,`endTime`,`sourceFoodUnitID`,`action`,`actionTime`,`createTime`,`onlineTsPrice`,`onlineWmPrice`,`onlineZtPrice`,`wdPrice`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);]] commit failed driver: bad connection 2018/04/05 18:55:55 db.go:92: [warning] sql...
[root@glusterfs9 bin]# ping 192.168.2.65 PING 192.168.2.65 (192.168.2.65) 56(84) bytes of data. 64 bytes from 192.168.2.65: icmp_seq=1 ttl=62 time=0.635 ms 64 bytes from 192.168.2.65: icmp_seq=2 ttl=62 time=0.652 ms 64 bytes from...
Release Version: v4.0.0-alpha-81-g2009741d5 Git Commit Hash: 2009741d57c5591c10f837166264c78cac1261f5 Git Branch: master UTC Build Time: 2019-08-16 09:38:44 GoVersion: go version go1.12 linux/amd64 Race Enabled: false TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306 Check Table Before...