MySQL to Postgres migration guide is not correct
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- mysql, postgresql
- Lĩnh vực
- databases, documentation
Hướng nghiên cứu
Start with the linked MySQL-to-Postgres migration guide and reproduce the reported command output using the example dump and sed transformation. Determine which migration step produces the invalid commands, then update the guide so the documented process handles the shown dump without an unexplained manual workaround.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
While following this: https://umami.is/docs/guides/migrate-mysql-postgresql#running-migration I've encountered:
Password for user xxxxxxx:
INSERT 0 13
invalid command \'insertBefore
invalid command \'
invalid command \'
invalid command \'
invalid command \'
invalid command \'insertBefore
invalid command \'s
invalid command \'s
invalid command \'s
invalid command \'s
invalid command \'s
invalid command \'s
invalid command \'s-johnny',NULL,'/artists',NULL,'','Ritmo
invalid command \'s
invalid command \'s
invalid command \'s
invalid command \'s
invalid command \'s-johnny',NULL,'',NULL,1,NULL,'dcfa56c6-feaf-5c24-badb-4033f9f7a6f4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ritmoepoesia.pt'),('9ec4eac9-ec3a-4e7e-86a7-c1a741decd28','c788e969-c0f2-4163-b9fd-94bb6483af46','b3af3d31-95de-5096-b1bc-0ab41ad628a0','2025-09-14
invalid command \'s
invalid command \'s
invalid command \'s
invalid command \'s
invalid command \'s
invalid command \'s
invalid command \'s
invalid command \'s
ERROR: syntax error at or near "um"
LINE 1: ...-4275-bee3-909c5e98c53f','audioTitle','Levaste c\'um pau?',N...
I fixed this by applying an extra transformation with sed:
sed -i "s/\\\\'/\'\'/g" mydbdump.sql
Not sure if this is correct but it seems to have worked.
- Ngôn ngữ chính
- MDX
- Star
- 5
- Fork
- 30
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của umami-software/docs
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
umami-software/docs#33 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
umami-software/docs#31 ·
-
Tip for cloudflare configurationĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
umami-software/docs#15 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
umami-software/docs#21 ·
-
Remove "Bypass ad blockers" pageĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
umami-software/docs#9 · 2 reaction ·
Tất cả issue của umami-software/docs
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
wr.dynamodb.read_items returns [{}] for a single partition value that does not existCó thể đã có người làm @auraseb đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
aws/aws-sdk-pandas#3520 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
KB create rollback blocks the event loop for up to ~15s (sync rmtree + backoff sleep in async route)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
langflow-ai/langflow#15867 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A failed COMMIT leaves the DuckLake transaction registered, leaking the whole DuckDB instanceĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
data error
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
riscv/riscv-unified-db#2749 ·
Maintainer thường phản hồi trong vòng 1 ngày