如何在 Amazon Aurora PostgreSQL 无服务器集群上创建初始数据库
How to create initial database on Amazon Aurora PostgreSQL serverless cluster
我已经使用
创建了一个无服务器数据库集群
aws rds create-db-cluster --db-cluster-identifier psql-test --engine aurora-postgresql --engine-version 10.12 --engine-mode serverless --scaling-configuration MinCapacity=2,MaxCapacity=4,SecondsUntilAutoPause=1000,AutoPause=true --enable-http-endpoint --master-username postgres --master-user-password password
应该使用哪个参数来包含初始数据库?
您可以在official API documentation或命令
的帮助信息中找到此信息
但是你必须使用--database-name nameOfYourDB
--database-name (string)
The name for your database of up to 64 alphanumeric characters. If
you do not provide a name, Amazon RDS doesn't create a database in
the DB cluster you are creating.
我已经使用
创建了一个无服务器数据库集群aws rds create-db-cluster --db-cluster-identifier psql-test --engine aurora-postgresql --engine-version 10.12 --engine-mode serverless --scaling-configuration MinCapacity=2,MaxCapacity=4,SecondsUntilAutoPause=1000,AutoPause=true --enable-http-endpoint --master-username postgres --master-user-password password
应该使用哪个参数来包含初始数据库?
您可以在official API documentation或命令
的帮助信息中找到此信息但是你必须使用--database-name nameOfYourDB
--database-name (string)
The name for your database of up to 64 alphanumeric characters. If
you do not provide a name, Amazon RDS doesn't create a database in
the DB cluster you are creating.