We can store binary values using either binary or bit (up to 64 bits).
What is the difference between using binary(n) vs using bit(m) (where n = 8 × m)?
Are they recognized as the same thing by MySQL?
您可以根据需要使用 BIT 或 BINARY 存储位。BIT 数据类型在逻辑运算中可能更有用。
存储上有一个小的区别: