![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
文章平均质量分 57
bug-10086
这个作者很懒,什么都没留下…
展开
-
mysql问题排查
mysql原创 2022-10-12 17:18:55 · 835 阅读 · 0 评论 -
记一次mysql建表报错
[DTF] Create table: `xxx`[ERR] 1171 - All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead意思是建表的复合主键每个都不能为空。原创 2021-08-27 15:12:35 · 1445 阅读 · 0 评论 -
mysql备份工具mysqldump
由于navicat备份数据有些表结构会不一致,所以使用mysql自带dump工具。参考链接:https://www.cnblogs.com/markLogZhu/p/11398028.htmlhttps://blog.csdn.net/weixin_32916125/article/details/113426994原创 2021-07-22 15:14:21 · 211 阅读 · 0 评论 -
学习mysql预处理
MySQL的SQL预处理(Prepared)原创 2021-06-19 17:47:13 · 80 阅读 · 0 评论 -
mysql中字段类型的区别
mysql中tinyint、smallint、int、bigint的区别tinyint从 -2^7 (-128) 到 2^7 - 1 (123) 的整型数据。存储大小为1 个字节。unsigned 是从 0 到 255 的整型数据。所以建表的时候 只能是tinyint(3),哪怕你建tinyint(100),他最大还是3位这么多。smallint从 -2^15 (-32,768) 到 2^15 - 1 (32,767) 的整型数据。存储大小为 2 个字节。unsigned..原创 2021-05-25 14:07:42 · 663 阅读 · 1 评论