For MongoDB, server name and port number information are stored in the schema file. Therefore, when reusing this schema file to connect to the same MongoDB server with different port numbers, the following error is returned.
The connection options used to open the database do not match the options used to create the database.

AllowPortNumber=1.

JDBC;DRIVER={com.Strategy.jdbc.mongodb.MongoDBDriver};URL={jdbc:Strategy:mongodb://11.11.11.11:27017;DatabaseName=A;SchemaDefinition=C:\Users\Administrator\Downloads\schema\;ValidateServerCertificate=false;EncryptionMethod=noEncryption;AllowPortChange=true}odbc.iniconfig file.
AllowPortNumber=1.

JDBC;DRIVER={com.Strategy.jdbc.mongodb.MongoDBDriver};URL={jdbc:Strategy:mongodb://11.11.11.11:27017;DatabaseName=A;SchemaDefinition=/home/ec2-user/schema/;ValidateServerCertificate=false;EncryptionMethod=noEncryption;AllowPortChange=true};