azure-database-mysql
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAzure Database for MySQL Skill
Azure Database for MySQL Skill
This skill provides expert guidance for Azure Database for MySQL. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
本Skill为Azure Database for MySQL提供专家级指导,涵盖故障排除、最佳实践、决策制定、架构与设计模式、限制与配额、安全、配置、集成与编码模式以及部署。它结合了本地快速参考内容和远程文档获取功能。
How to Use This Skill
如何使用本Skill
IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g.,), useL35-L120with the specified lines. For categories with file links (e.g.,read_file), use[security.md](security.md)on the linked reference fileread_file
IMPORTANT for Agent: Ifis more than 3 months old, suggest the user pull the latest version from the repository. Ifmetadata.generated_attools are not available, suggest the user install it: Installation Guidemcp_microsoftdocs
This skill requires network access to fetch documentation content:
- Preferred: Use with query string
mcp_microsoftdocs:microsoft_docs_fetch. Returns Markdown.from=learn-agent-skill - Fallback: Use with query string
fetch_webpage. Returns Markdown.from=learn-agent-skill&accept=text/markdown
Agent 重要提示:使用下方的分类索引定位相关章节。对于带有行范围的分类(例如),使用L35-L120读取指定行内容。对于带有文件链接的分类(例如read_file),使用[security.md](security.md)读取链接的参考文件read_file
本Skill需要网络访问权限以获取文档内容:
- 首选方式:使用,并携带查询字符串
mcp_microsoftdocs:microsoft_docs_fetch,返回Markdown格式内容。from=learn-agent-skill - 备选方式:使用,并携带查询字符串
fetch_webpage,返回Markdown格式内容。from=learn-agent-skill&accept=text/markdown
Category Index
分类索引
| Category | Lines | Description |
|---|---|---|
| Troubleshooting | L37-L53 | Diagnosing and fixing MySQL Flexible Server issues: connectivity, performance (CPU/memory/queries), errors, corruption, capacity, replication lag, CLI problems, and using logs/self-heal tools |
| Best Practices | L54-L71 | Best practices for monitoring, performance tuning, troubleshooting, safe operations, BCDR, and end-to-end migration/optimization for Azure Database for MySQL Flexible Server |
| Decision Making | L72-L88 | Guidance on sizing, HA/BCDR, performance features, and planning/choosing methods for migrating and upgrading MySQL workloads to Azure Database for MySQL Flexible Server |
| Architecture & Design Patterns | L89-L97 | Patterns for connecting AKS to MySQL Flexible Server, designing backup/restore, data-in/out replication, high availability (zone-redundant), and read-replica-based scaling. |
| Limits & Quotas | L98-L106 | Limits, quotas, and performance caps for MySQL Flexible Server: compute/storage/IOPS limits, quota increase process, restore retention limits, and stop/start duration constraints. |
| Security | L107-L133 | Securing Azure Database for MySQL Flexible Server: network isolation (Private Link, firewalls), TLS and cert rotation, encryption, Entra auth, users, and audit logging before/after migration. |
| Configuration | L134-L164 | Configuring MySQL Flexible Server: parameters, HA, networking (VNet/firewall), replication, logs/slow queries, monitoring/metrics, alerts, scaling, maintenance, backups, and read replicas. |
| Integrations & Coding Patterns | L165-L175 | Connecting to Azure Database for MySQL Flexible Server via CLI, Java/JDBC, Power BI, managing connection strings with Key Vault, and migrating data from RDS, on-prem, VMs, or Workbench |
| Deployment | L176-L186 | Automating MySQL Flexible Server deployments and maintenance: CI/CD with Azure Pipelines/GitHub Actions, backups/geo-restore, major version upgrades, and scheduled/automated management tasks. |
| 分类 | 行范围 | 描述 |
|---|---|---|
| 故障排除 | L37-L53 | 诊断并修复MySQL Flexible Server问题:连接性、性能(CPU/内存/查询)、错误、损坏、容量、复制延迟、CLI问题,以及使用日志/自修复工具 |
| 最佳实践 | L54-L71 | Azure Database for MySQL Flexible Server的监控、性能调优、故障排除、安全操作、BCDR以及端到端迁移/优化的最佳实践 |
| 决策制定 | L72-L88 | 为将MySQL工作负载迁移和升级到Azure Database for MySQL Flexible Server提供规模规划、HA/BCDR选择、性能特性选型以及迁移方法规划的指导 |
| 架构与设计模式 | L89-L97 | AKS连接MySQL Flexible Server、备份/恢复设计、数据流入/流出复制、高可用(区域冗余)以及基于只读副本的扩缩容模式 |
| 限制与配额 | L98-L106 | MySQL Flexible Server的限制、配额和性能上限:计算/存储/IOPS限制、配额提升流程、恢复保留限制、启停时长约束 |
| 安全 | L107-L133 | 加固Azure Database for MySQL Flexible Server的安全性:网络隔离(Private Link、防火墙)、TLS与证书轮换、加密、Entra认证、用户管理以及迁移前后的审计日志 |
| 配置 | L134-L164 | 配置MySQL Flexible Server:参数、HA、网络(VNet/防火墙)、复制、日志/慢查询、监控/指标、告警、扩缩容、维护、备份以及只读副本 |
| 集成与编码模式 | L165-L175 | 通过CLI、Java/JDBC、Power BI连接Azure Database for MySQL Flexible Server,使用Key Vault管理连接字符串,以及从RDS、本地环境、VM或Workbench迁移数据 |
| 部署 | L176-L186 | 自动化MySQL Flexible Server的部署与维护:使用Azure Pipelines/GitHub Actions实现CI/CD、备份/异地恢复、主版本升级以及计划/自动化管理任务 |
Troubleshooting
故障排除
Best Practices
最佳实践
Decision Making
决策制定
Architecture & Design Patterns
架构与设计模式
| Topic | URL |
|---|---|
| Connect Azure Kubernetes Service to MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-aks |
| Backup and restore strategy for MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-backup-restore |
| Design data-in replication into MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-data-in-replication |
| Design data-out replication from MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-data-out-replication |
| Use read replicas to scale MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-read-replicas |
| 主题 | URL |
|---|---|
| 连接Azure Kubernetes Service到MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-aks |
| MySQL Flexible Server的备份与恢复策略 | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-backup-restore |
| 设计向MySQL Flexible Server的数据流入复制 | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-data-in-replication |
| 设计从MySQL Flexible Server的数据流出复制 | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-data-out-replication |
| 使用只读副本扩缩容MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-read-replicas |
Limits & Quotas
限制与配额
| Topic | URL |
|---|---|
| Service limitations for Azure MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-limitations |
| Storage IOPS performance characteristics for MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-storage-iops |
| Request quota increases for Azure MySQL flexible server resources | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-request-quota-increase |
| Restore deleted Azure MySQL flexible servers within retention limits | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-restore-dropped-server |
| Restart, stop, and start MySQL flexible server with stop-duration limits | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/scripts/sample-cli-restart-stop-start |
| 主题 | URL |
|---|---|
| Azure MySQL Flexible Server的服务限制 | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-limitations |
| MySQL Flexible Server的存储IOPS性能特征 | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-storage-iops |
| 请求提升Azure MySQL flexible server资源的配额 | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-request-quota-increase |
| 在保留期限内恢复已删除的Azure MySQL flexible server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-restore-dropped-server |
| 受停机时长限制的MySQL flexible server重启、停止与启动 | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/scripts/sample-cli-restart-stop-start |
Security
安全
Configuration
配置
Integrations & Coding Patterns
集成与编码模式
| 主题 | URL |
|---|---|
| 使用Azure CLI命令连接到MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/connect-azure-cli |
| 使用JDBC将Java应用连接到MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/connect-java |
| 将Azure MySQL Flexible Server连接到Power BI Desktop | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/connect-with-powerbi-desktop |
| 使用数据流入复制将Amazon RDS MySQL迁移到Azure flexible server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-migrate-rds-mysql-data-in-replication |
| 将MySQL Flexible Server连接字符串存储在Azure Key Vault中 | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/tutorial-add-mysql-connection-in-key-vault |
| 使用Import CLI将本地或VM中的MySQL迁移到Azure flexible server | https://learn.microsoft.com/en-us/azure/mysql/migrate/migrate-external-mysql-import-cli |
| 使用MySQL Workbench将MySQL数据迁移到Azure | https://learn.microsoft.com/en-us/azure/mysql/migrate/mysql-on-premises-azure-db/09-data-migration-with-mysql-workbench |
Deployment
部署
| 主题 | URL |
|---|---|
| 配置Azure Pipelines任务以部署Azure MySQL | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/azure-pipelines-deploy-database-task |
| 规划MySQL Flexible Server的计划维护 | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-maintenance |
| 创建Azure自动化任务以管理MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/create-automation-tasks |
| 使用异地恢复在区域间迁移Azure MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-move-regions |
| 通过CLI从备份恢复Azure MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-restore-server-cli |
| 通过门户从备份恢复Azure MySQL Flexible Server | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-restore-server-portal |
| 执行Azure MySQL Flexible Server的主版本升级 | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-upgrade |
| 使用GitHub Actions将变更部署到Azure MySQL | https://learn.microsoft.com/en-us/azure/mysql/flexible-server/quickstart-mysql-github-actions |