You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/07/18 02:06:06 UTC

[inlong] branch master updated: [INLONG-5087][TubeMQ] Fix initialize the database failure in MySQL 5.7 (#5089)

This is an automated email from the ASF dual-hosted git repository.

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 84bed6d23 [INLONG-5087][TubeMQ] Fix initialize the database failure in MySQL 5.7 (#5089)
84bed6d23 is described below

commit 84bed6d238bccba71a3fe2ee756870049d597d27
Author: haibo.duan <dh...@live.cn>
AuthorDate: Mon Jul 18 10:06:01 2022 +0800

    [INLONG-5087][TubeMQ] Fix initialize the database failure in MySQL 5.7 (#5089)
---
 inlong-tubemq/tubemq-manager/sql/apache_tube_manager.sql | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/inlong-tubemq/tubemq-manager/sql/apache_tube_manager.sql b/inlong-tubemq/tubemq-manager/sql/apache_tube_manager.sql
index 7043b36dd..d212464cd 100644
--- a/inlong-tubemq/tubemq-manager/sql/apache_tube_manager.sql
+++ b/inlong-tubemq/tubemq-manager/sql/apache_tube_manager.sql
@@ -39,7 +39,7 @@ CREATE TABLE `broker` (
                           `region_id` bigint DEFAULT NULL,
                           PRIMARY KEY (`id`),
                           UNIQUE KEY `UKciq4ve8cnogwy80elee1am518` (`broker_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
 
 -- ----------------------------
 -- Table structure for cluster
@@ -54,7 +54,7 @@ CREATE TABLE `cluster` (
                            `reload_broker_size` int NOT NULL,
                            PRIMARY KEY (`cluster_id`),
                            UNIQUE KEY `UKjo595af4i3co2onpspedgxcrs` (`cluster_name`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
 
 -- ----------------------------
 -- Table structure for create_topic_task
@@ -72,7 +72,7 @@ CREATE TABLE `create_topic_task` (
                                      `token` varchar(255) DEFAULT NULL,
                                      `topic_name` varchar(255) DEFAULT NULL,
                                      PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
 
 -- ----------------------------
 -- Table structure for master
@@ -87,7 +87,7 @@ CREATE TABLE `master` (
                           `token` varchar(255) DEFAULT NULL,
                           `web_port` int NOT NULL,
                           PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
 
 -- ----------------------------
 -- Table structure for region
@@ -104,7 +104,7 @@ CREATE TABLE `region` (
                           `region_id` bigint DEFAULT NULL,
                           PRIMARY KEY (`id`),
                           UNIQUE KEY `UK6bb56v767cxs5iujj2k08f1ic` (`cluster_id`,`region_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
 
 -- ----------------------------
 -- Table structure for topic
@@ -142,6 +142,6 @@ CREATE TABLE `topic` (
                          `topology_name` varchar(255) DEFAULT NULL,
                          `username` varchar(32) NOT NULL,
                          PRIMARY KEY (`business_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
 
 SET FOREIGN_KEY_CHECKS = 1;