Skip to content

Commit

Permalink
fix: Correcting mysql 5 backup to mysql 8 restore to align collation …
Browse files Browse the repository at this point in the history
…shared in both mysql 5 and 8.

[#184908751]

Co-authored-by: Hongchol Sinn <hsinn@vmware.com>
  • Loading branch information
Tallicia and hsinn0 committed May 17, 2023
1 parent dbc02bd commit 98e000d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--NOOP
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
SET foreign_key_checks = 0;
ALTER TABLE SPRING_SESSION MODIFY COLUMN PRIMARY_ID char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;
ALTER TABLE SPRING_SESSION_ATTRIBUTES MODIFY COLUMN SESSION_PRIMARY_ID char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;
SET foreign_key_checks = 1;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--NOOP

0 comments on commit 98e000d

Please sign in to comment.