By default, a GaussDB(for MySQL) DB instance is not publicly accessible (not bound with an EIP) after being created. You can bind an EIP to the DB instance for public accessibility and can unbind the EIP from the DB instance as required.
To ensure that the database can be accessed, the security group used by the database must have the permission to access the database port. For example, if the database port is 3306, ensure that the security group has the permission to access port 3306.
You need to configure security group rules and enable specific IP addresses and ports to access the target DB instance.
To unbind the EIP from the DB instance, see Unbinding an EIP.