Create databases Beta

Create a database using YSQL

You can use the YSQL shell (ysqlsh) and the YSQL API to create and manage YugabyteDB databases and tables in your Yugabyte Cloud clusters.

To configure a local YSQL shell to connect to your clusters, see Connect using the YSQL shell (ysqlsh).

Create a keyspace using YCQL

You can use the YCQL shell (cqlsh) and the YCQL API to create and manage YugabyteDB keyspaces and tables in your Yugabyte Cloud clusters.

To configure a local YCQL shell to connect to your clusters, see Connect using the YCQL shell (cqlsh).

Create a database using a sample dataset

Sample datasets are available to help you learn and explore YugabyteDB. The SQL script files (.sql) required to createsample databases are included in the share directory of the YugabyteDB home directory.

Here are links to documentation on the tested datasets and the steps to create the sample databases: