- Le plus récent
- Le plus de votes
- La plupart des commentaires
In this case, you need to specify the new database by yourself.
I assume you want to change the "dbName" in the "Endpoint" displayed in Redshift console's "General information". Endpoint example:
# provisioned
my-cluster.xxx.<region>.redshift.amazonaws.com:<port>/<dbName>
# serverless
my-workgroup.<accountid>.<region>.redshift-serverless.amazonaws.com:<port>/<dbName>
The <dbName> is displaying the name of initial database when you create a cluster or a namespace and it cannot be changed after creation for both provisoned and serverless. Description for dbName is in following document and AFAIK there are no apis to update this.
DBName -> (string)
The name of the initial database that was created when the cluster was created. This same name is returned for the life of the cluster. > If an initial database was not specified, a database named dev dev was created by default.
dbName -> (string)
The name of the first database created in the namespace.
Therefore, as you mentioned, the database name in the endpoint will be outdated if you alter or drop the initial database.
Contenus pertinents
- demandé il y a 2 ans
- Réponse acceptéedemandé il y a 2 ans
- demandé il y a 2 ans
- AWS OFFICIELA mis à jour il y a 9 mois
- AWS OFFICIELA mis à jour il y a 2 ans