lab_code: demo_204
title_en: (Preview) Migrate Laravel Application from MySQL to TiDB Cloud
title_zh: (Preview) 将 Laravel 应用从 MySQL 迁移到 TiDB Cloud
title_ja: (Preview) Laravel アプリケーションを MySQL から TiDB Cloud に移行
title_ko: (Preview) Laravel 애플리케이션을 MySQL에서 TiDB Cloud로 마이그레이션
description_en: "This lab shows you how easy it is to migrate a Laravel application from MySQL to TiDB Cloud. In this lab, we provide a dummy book store application. The application runs on MySQL at the beginning. We show you the easy steps to migrate the database from MySQL to TiDB CLoud. We also demonstrate the online DDL capability of TiDB Cloud."
description_zh: "本实验展示如何轻松将 Laravel 应用从 MySQL 迁移到 TiDB Cloud。我们提供了一个虚拟书店应用，该应用最初运行在 MySQL 上。我们展示了从 MySQL 迁移数据库到 TiDB Cloud 的简单步骤，并演示了 TiDB Cloud 的在线 DDL 功能。"
description_ja: "このラボでは、Laravel アプリケーションを MySQL から TiDB Cloud へ簡単に移行する方法を紹介します。最初は MySQL 上で動作する仮想書店アプリケーションを用意しています。MySQL から TiDB Cloud へデータベースを移行する手順を分かりやすく説明し、TiDB Cloud のオンライン DDL 機能も体験していただきます。"
description_ko: "이 랩에서는 Laravel 애플리케이션을 MySQL에서 TiDB Cloud로 손쉽게 마이그레이션하는 방법을 보여줍니다. 본 랩에서는 더미 북스토어 애플리케이션을 제공합니다. 애플리케이션은 처음에 MySQL에서 실행됩니다. MySQL에서 TiDB Cloud로 데이터베이스를 마이그레이션하는 간단한 절차를 안내하며, TiDB Cloud의 온라인 DDL 기능도 시연합니다."
splash_image_en: https://lab-static.pingcap.com/images/2026/1/26/36ac9f1caa9b6b138f8e9ff6fbf74883783596a4.jpg
splash_image_zh: https://lab-static.pingcap.com/images/2026/1/26/36ac9f1caa9b6b138f8e9ff6fbf74883783596a4.jpg
splash_image_ja: https://lab-static.pingcap.com/images/2026/1/26/36ac9f1caa9b6b138f8e9ff6fbf74883783596a4.jpg
splash_image_ko: https://lab-static.pingcap.com/images/2026/1/26/36ac9f1caa9b6b138f8e9ff6fbf74883783596a4.jpg
lab_level: Advanced
category_en:
  - TiDB Cloud
  - Application Migration
category_zh:
  - TiDB Cloud
  - 应用迁移
category_ja:
  - TiDB Cloud
  - アプリケーション移行
category_ko:
  - TiDB Cloud
  - 애플리케이션 마이그레이션
authors:
  - Fei Dong (CEG)
  - Chenhao Huang (CEG)
delivery_type: Self-Paced
tidb_environments:
  - TiDB Cloud Starter
tidb_versions: []
target_audience:
  - Developer
  - Architect
  - DBA
regions:
  aws:
    - oregon
    - tokyo
    - singapore
    - frankfurt
credits: 1
credit_redeemable: false
employee_only: true
estimated_duration_minutes: 120

requirements:
  - type: "CloudStack"
  - type: "TiDBServerlessCluster"

topology:
  - role: monitor
    node_count: 1
    ssh_user: ubuntu
    web_ssh: false
    https_reverse_proxy: true

bootstrap:
  - name: "prepare monitor"
    type: "ShellScript"
    target:
      - monitor1
    script: ./scripts/prepare-monitor.sh

features:
  enable_content_explain: false
  disable_serverless_sandbox: true
  enable_environment_variables_fallback: true
