About 6,030,000 results
Open links in new tab
  1. Create database from command line in PostgreSQL

    Mar 19, 2019 · Once connected to psql, enter the following command to create a new database: CREATE DATABASE <database_name>; To verify that the database has been created, you …

  2. How to Create a Postgres Database From Command Line

    Jul 31, 2023 · For instance, executing the “CREATE DATABASE” command from SQL Shell creates a new Postgres database, while executing the “createdb” command from the system’s …

  3. PostgreSQL – Create Database - GeeksforGeeks

    Oct 17, 2024 · Creating a database in PostgreSQL can be done using the CREATE DATABASE SQL statement in the psql shell or via the createdb command-line utility. Additionally, for users …

  4. Create Database in PostgreSQL using psql and pgAdmin

    PostgreSQL database can be created using psql (SQL Shell) and pgAdmin. Use the CREATE DATABASE command in psql to create a new database in PostgreSQL. Let's create the 'HR' …

  5. PostgreSQL Create Database - Online Tutorials Library

    PostgreSQL provides two ways of creating a new database −. Using CREATE DATABASE, an SQL command. Using createdb a command-line executable. This command will create a …

  6. Creating user, database and adding access on PostgreSQL

    Mar 14, 2017 · As the default configuration of Postgres is, a user called postgres is made on and the user postgres has full superadmin access to entire PostgreSQL instance running on your …

  7. How to Create a PostgreSQL Database Using the `createdb` Command

    Dec 17, 2024 · The createdb command in PostgreSQL offers powerful options for database creation directly from the command line, facilitating quick setup and customization of …

  8. How to Create a Database in PostgreSQL - CommandPrompt Inc.

    In PostgreSQL, you can use the “createdb” command to create/make a new database. You can run the "createdb" command directly from the Command Prompt, unlike the “CREATE …

  9. Create a Database in PostgreSQL Using the createdb Command

    Dec 27, 2023 · In this comprehensive 2500+ word guide, you will learn about creating and managing PostgreSQL databases programmatically using the bundled command-line tools like …

  10. Working with PostgreSQL from the Command Line

    Jun 10, 2023 · To create a new database, use the CREATE DATABASE command followed by the desired database name. For example, to create a database named “mydatabase,” execute …

  11. Some results have been removed
Refresh