简体   繁体   English

使用查询编辑器在 Amazon Redshift 上创建数据库

[英]Create Database on Amazon Redshift with Query Editor

I've created a Redshift cluster using the AWS management console.我已经使用 AWS 管理控制台创建了一个 Redshift 集群。 The cool thing that AWS setup was this query editor to be able to write queries directly on your cluster without having to install a SQL client on your computer. AWS 设置的一个很酷的事情是这个查询编辑器,它能够直接在您的集群上编写查询,而无需在您的计算机上安装 SQL 客户端。

However, I was trying to create a new database on the instance but it doesn't seem to be possible using AWS query editor.但是,我试图在实例上创建一个新数据库,但似乎无法使用 AWS 查询编辑器。 Am I right or did I miss something?我是对的还是我错过了什么?

我确实错过了一些东西,您只需进入查询编辑器并编写

CREATE DATABASE db_name OWNER=db_owner;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM