alioth/before/cha/15=hutao/docs/MySQL/MYSQL是如何运行的.md
2025-05-30 09:18:01 +08:00

28 lines
526 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

> 小孩子
# 第0章 楔子
我们都是小青蛙——公众号
# 第1章 初始MySQL
## 1.1 C/S架构
客户端/服务器
## 1.2 MySQL的安装
![查询请求过程](./MYSQL是如何运行的.assets/5e28583bdb3e4fc0bc84b4f3031b8176.png)
- 查询缓存已经在mysql8中被删除我们可以使用redis做缓存
- 设置表的存储引擎/修改表引擎
```sql
CREATE TABLE 表名 (语句) ENGINE=存储引擎名;
CREATE TABLE table_a (name VARCHAR) ENGINE = MyISAM;
ALTER TABLE table_a ENGINE = InnoDB;
```