309593586 opened a new issue, #33711:
URL: https://github.com/apache/shardingsphere/issues/33711

   see zhe following code:
   ```
     public static Map<String, ShardingSphereDatabase> create(final Map<String, 
DatabaseConfiguration> databaseConfigMap,
                                                                final 
ConfigurationProperties props, final ComputeNodeInstanceContext 
computeNodeInstanceContext) throws SQLException {
           DatabaseType protocolType = 
DatabaseTypeEngine.getProtocolType(databaseConfigMap, props);
           SystemDatabase systemDatabase = new SystemDatabase(protocolType);
           Map<String, ShardingSphereDatabase> result = new 
ConcurrentHashMap<>(databaseConfigMap.size() + 
systemDatabase.getSystemDatabaseSchemaMap().size(), 1F);
           result.putAll(createGenericDatabases(databaseConfigMap, 
protocolType, systemDatabase, props, computeNodeInstanceContext));
           result.putAll(createSystemDatabases(databaseConfigMap, protocolType, 
systemDatabase, props));
           return result;
       }
   ```
   
   The variable “databaseConfigMap” contains multiple logical databases of 
different types (specifically, Kingbase and MySQL logical databases), but the 
method "DatabaseTypeEngine.getProtocolType()" only accommodates one database 
type (MySQL).
   
![bug](https://github.com/user-attachments/assets/d1a80f7f-3805-49ef-a594-337eeb85d978)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to