要使用`mysqld`开启MySQL的查询缓存,请按以下步骤修改`my.ini`文件:
1. 打开`my.ini`文件,该文件通常位于`C:\ProgramData\MySQL\MySQL Server 5.7\`目录下。
2. 在`[mysqld]`小节中,找到或添加这几行配置来启用查询缓存:
```
query_cache_type=...
## Q:解释一下这个 typescript脚本
```
export const i18n = {
defaultLocale: 'en',
locales: ['en', 'de', 'cs'],
} as const;
export type Locale = typeof i18n['locales'][number];
```...