【问题标题】:How to create schema for RDS from cloudformation template while launching the database?如何在启动数据库时从 cloudformation 模板创建 RDS 架构?
【发布时间】:2019-06-04 02:13:45
【问题描述】:

我正在尝试从云形成模板安装 MYSQL (RDS)。有没有办法运行 SQL DDL 脚本,以便我们可以在数据库设置时创建模式

【问题讨论】:

  • 您自己尝试过什么吗?你有预期的输出吗?你用什么来设置数据库。

标签: bash amazon-web-services amazon-cloudformation amazon-rds database-schema


【解决方案1】:

在 CloudFormation 中无法以本机方式执行此操作。部署模板后,您必须运行一个脚本来运行 DDL

【讨论】:

    猜你喜欢
    • 2020-11-02
    • 2017-05-12
    • 2019-08-20
    • 2014-12-25
    • 2012-05-09
    • 2020-09-24
    • 1970-01-01
    • 2020-06-16
    • 2023-03-14
    相关资源
    最近更新 更多