You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"^Access denied for user '.+'@'.+' \\(using password: (YES|NO)\\)$" = "see https://docs.pingcap.com/tidbcloud/select-cluster-tier#user-name-prefix for more details"
178
+
"^require_secure_transport can not be set to ON with SEM\\(security enhanced mode\\) enabled$" = "see https://docs.pingcap.com/tidbcloud/secure-connections-to-serverless-tier-clusters for more details"
179
+
"^sleep\\(\\) argument is greater than [0-9]+$" = "see https://docs.pingcap.com/tidbcloud/serverless-tier-limitations#sql for more details"
180
+
"^[A-Z ]+ command denied to user '.+'@'.+' for table '.+'$" = "see https://docs.pingcap.com/tidbcloud/limited-sql-features#system-tables for more details"
181
+
"^Access denied; you need \\(at least one of\\) the RESTRICTED_VARIABLES_ADMIN privilege\\(s\\) for this operation$" = "see https://docs.pingcap.com/tidbcloud/limited-sql-features#system-variables for more details"
182
+
"^Feature '.+' is not supported when security enhanced mode is enabled$" = "see https://docs.pingcap.com/tidbcloud/limited-sql-features#statements for more details"
183
+
`), 0644))
184
+
185
+
conf:=NewConfig()
186
+
require.NoError(t, conf.Load(configFile))
187
+
require.NoError(t, conf.Valid())
188
+
require.Equal(t, map[string]string{
189
+
`^Access denied for user '.+'@'.+' \(using password: (YES|NO)\)$`: "see https://docs.pingcap.com/tidbcloud/select-cluster-tier#user-name-prefix for more details",
190
+
`^require_secure_transport can not be set to ON with SEM\(security enhanced mode\) enabled$`: "see https://docs.pingcap.com/tidbcloud/secure-connections-to-serverless-tier-clusters for more details",
191
+
`^sleep\(\) argument is greater than [0-9]+$`: "see https://docs.pingcap.com/tidbcloud/serverless-tier-limitations#sql for more details",
192
+
`^[A-Z ]+ command denied to user '.+'@'.+' for table '.+'$`: "see https://docs.pingcap.com/tidbcloud/limited-sql-features#system-tables for more details",
193
+
`^Access denied; you need \(at least one of\) the RESTRICTED_VARIABLES_ADMIN privilege\(s\) for this operation$`: "see https://docs.pingcap.com/tidbcloud/limited-sql-features#system-variables for more details",
194
+
`^Feature '.+' is not supported when security enhanced mode is enabled$`: "see https://docs.pingcap.com/tidbcloud/limited-sql-features#statements for more details",
0 commit comments