MySQL数据库使用笔记
索引失效问题 https://www.jianshu.com/p/d5b2f645d657 基本使用操作 查看数据库:show databases; 选择某个数据库:use 数据库名 查看某个数据库内有哪些表:show tables; 显示数据表的属性:show columns from 表名; mysql> show index from user; +-------+------------+-------------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+ | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Co