前言
安装
配置文件
注释
操作语言
概念
| 元组 |
数据字典 |
散列
|
| dbms |
示例 |
示例
|
| 示例 |
示例 |
示例
|
符号与无符号
无符号(unsigned)表示设置的数字是 [0, +∞]。
数据类型
数字类型
| 整数
|
tinyint
|
smallint
|
mediumint
|
int
|
bigint
|
| 浮点数
|
float
|
double
|
real
|
decimal
|
|
日期和时间
| date |
time |
datetime |
timestamp |
year
|
字符串类型
| 字符串
|
char
|
varchar
|
|
|
|
| 文本
|
tinytext
|
text
|
mediumtext
|
longtext
|
|
二进制
| tinyblob |
blob |
mediumblob |
longblob
|
条件
工具
备份
其他
案例
实例
| 日期 |
示例 |
示例
|
| 示例 |
示例 |
示例
|
| 示例 |
示例 |
示例
|
示例
常见问题
| 关于周日定义 |
示例 |
示例
|
| 示例 |
示例 |
示例
|
| 示例 |
示例 |
示例
|
ERROR
error
- Storage engine MyISAM is disabled (Table creation is disallowed).
- mysql v8 不支持地分区策略。
- The MySQL server is running with the --read-only option so it cannot execute this statement
- 连到从库
- You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
- Cannot add foreign key constraint,
- Node.js: Connection Error: Error: Connection lost: The server closed the connection
- Node.js 连接 Mysql 的版本要求,MySQL Connector/Node.js
参考