mysql
文章平均质量分 57
bug-10086
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
mysql问题排查
mysql原创 2022-10-12 17:18:55 · 955 阅读 · 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 · 1989 阅读 · 0 评论 -
mysql备份工具mysqldump
由于navicat备份数据有些表结构会不一致,所以使用mysql自带dump工具。 参考链接: https://www.cnblogs.com/markLogZhu/p/11398028.html https://blog.youkuaiyun.com/weixin_32916125/article/details/113426994原创 2021-07-22 15:14:21 · 354 阅读 · 0 评论 -
学习mysql预处理
MySQL的SQL预处理(Prepared)原创 2021-06-19 17:47:13 · 125 阅读 · 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 · 812 阅读 · 1 评论
分享