摘要: 官方文档: https://dev.mysql.com/doc/refman/5.6/en/linux-installation-debian.html 对应的tar链接: https://dev.mysql.com/downloads/mysql/ 安装过程中遇到的几个坑: 1. 在执行到这一步的 阅读全文
posted @ 2020-12-26 19:35 陆成 阅读(92) 评论(0) 推荐(0)
摘要: 目标:使用了联合索引,同时进行其他字段的null判断的执行计划是什么样子? 准备:mysql 5.7.18 步骤1: 建表 create table `foo_records` ( `id` bigint(20) unsigned not null AUTO_INCREMENT COMMENT 'p 阅读全文
posted @ 2020-12-20 22:05 陆成 阅读(594) 评论(0) 推荐(0)
摘要: 参考文档: https://dev.mysql.com/doc/refman/5.7/en/faqs-cjk.html#faq-cjk-why-cjk-question-marks 阅读全文
posted @ 2020-12-20 18:53 陆成 阅读(51) 评论(0) 推荐(0)
摘要: 目标:区分int(5)与int的区别 准备:mysql 5.7.18,官方文档:https://dev.mysql.com/doc/refman/5.7/en/numeric-type-syntax.html 步骤1: 官方文档中的描述: INT[(M)] [UNSIGNED] [ZEROFILL] 阅读全文
posted @ 2020-12-19 21:35 陆成 阅读(451) 评论(0) 推荐(0)