Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: add link to our mysql setup guide and trim the enclosing whitespace (#449)
tianzhoue4407c6b31a8
diff --git a/frontend/src/components/InstanceConnectionForm.vue b/frontend/src/components/InstanceConnectionForm.vueindex 908640d818..93bed65fbf 100644--- a/frontend/src/components/InstanceConnectionForm.vue+++ b/frontend/src/components/InstanceConnectionForm.vue@@ -31,6 +31,11 @@</span></template></i18n-t>+ <a+ href="https://docs.bytebase.com/install/docker#start-a-local-mysql-server-for-testing"+ target="_blank"+ class="normal-link"+ >{{ $t("common.detailed-guide") }}</a></template><template v-else-if="instance.engine == 'CLICKHOUSE'"><i18n-t tag="p" keypath="instance.sentence.create-user-example.clickhouse.template">@@ -109,7 +114,7 @@: ''":value="instance.username"- @input="$emit('update-username', $event.target.value)"+ @input="$emit('update-username', $event.target.value.trim())"/></div>diff --git a/frontend/src/components/InstanceForm.vue b/frontend/src/components/InstanceForm.vueindex c8565b1da5..2a5915fd34 100644--- a/frontend/src/components/InstanceForm.vue+++ b/frontend/src/components/InstanceForm.vue@@ -442,7 +442,11 @@ export default {};const updateInstance = (field: string, value: string) => {- (state.instance as any)[field] = value;+ let str = value;+ if (field == "name" || field == "host" || field == "port" || field == "externalLink") {+ str = value.trim()+ }+ (state.instance as any)[field] = str;};const cancel = () => {