Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

MySQL to Postgres migration guide is not correct

Đang mở
#6 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của umami-software/docs

Tất cả issue của umami-software/docs

Issue tương tự

Thêm issue về Databases

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.