In the guide Provision and Binding Cloud Resources and Provision a Database and Import a SQL File for initialization, only one database will be created in an RDS instance. This tutorial will show you how to create more than one database in an RDS instance.
In the reference doc for Alibaba Cloud RDS, set
database_name if you want to create one database.
If you want to create more than one database, set
databases to array of databases. Each database is a map, the map
contains the following attributes: name, character_set, description.
|databases||The database list, each database is a map, the map contains the following attributes: name, character_set, description, like ||list(map(string))||false|
Applying the following application can create more than one database in an RDS instance.
⚠️ This section requires your platform engineers have already enabled cloud resources addon.