# Command: `runcloud:sync-database-links`

**Description**: Ensure correctly linked databases for all websites on RunCloud (matches wp-config.php or .env)
**Status**: completed
**Started**: 2026-08-14 19:46:24 | **Ended**: 2026-08-14 19:46:24 | **Duration**: 0s
**Jobs**: 0 dispatched / 0 completed / 0 failed

---

## Command Output

19:46:24 [INFO] Lock acquired for command: runcloud:sync-database-links

19:46:24 [INFO] RunCloud Database Link Sync

19:46:24 [INFO] Mode: DRY RUN (scan only)

19:46:24 [INFO] Single server mode: test-sync-server (ID: 10)

19:46:24 [INFO] Processing server: test-sync-server

19:46:24 [INFO] Fetched 1 databases for server test-sync-server

19:46:24 [INFO] Fetched 1 web applications for server test-sync-server

19:46:24 [INFO] Established SSH connection to server test-sync-server

19:46:24 [INFO] Processing webapp: app1

19:46:24 [INFO] Found wp-config.php for app1

19:46:24 [INFO] Found database name: my\_db for app1

19:46:24 [INFO] Found database ID: 100 for app1

19:46:24 [INFO] Database Link Sync Summary

19:46:24 [INFO] ==========================

19:46:24 [INFO] Servers scanned:    1

19:46:24 [INFO] Servers skipped:    0

19:46:24 [INFO] Webapps scanned:    1

19:46:24 [INFO] Static (skipped):   0

19:46:24 [INFO] Already correct:    1

19:46:24 [WARNING] Would fix (dry-run):  0

19:46:24 [INFO] Lock released for runcloud:sync-database-links

---

## Jobs (0)

*No jobs dispatched*

*Exported at 2026-08-14T23:27:21+00:00*
