1. Open pgAdmin
  2. Connect to database server
  3. Edit => New Object => New database
  4. done

Or use plain SQL when connection to any database: CREATE DATABASE my_database;

Answer from Frank Heikens on Stack Overflow
🌐
YouTube
youtube.com › watch
How to Create Database in PostgresSQL 16 using pgAdmin 4 - YouTube
In this video, you will learn how to use the PostgreSQL CREATE DATABASE statement to create new databases in the PostgreSQL database server using pgAdmin 4
Published   September 29, 2023
🌐
Medium
medium.com › @jldyer85 › pgadmin-4-the-basics-for-creating-new-users-databases-tables-4a291660912b
pgAdmin 4: the basics for creating new users, databases, & tables | by John Dyer | Medium
April 19, 2022 - Next, expand the pgAdmin tree control panel. All previously created (and auto-created) databases and login/group roles will appear. If this is your first time using this application, you should see an auto-created database called ‘postgres’ and a few auto-created login/roles like ‘pg_signal_backend’ and ‘postgres’.
Discussions

postgresql - How to create a database or role in pgAdmin4? - Database Administrators Stack Exchange
I want to create a database in pgAdmin4 but a corresponding item in the menu is grayed out. I also tried to create a role, thinking that I might be lacking permissions to create database in first ... More on dba.stackexchange.com
🌐 dba.stackexchange.com
What's the best way to set up this SQL database in PgAdmin4?
So, what’s the best approach? Do I make one big table with everything? yes, but in a view CREATE VIEW alltables AS SELECT 2008 AS year , * FROM table2008 UNION ALL SELECT 2009 AS year , * FROM table2009 UNION ALL ... SELECT 2022 AS year , * FROM table2022 and then you can run your analytics against the view SELECT year , gender , COUNT(*) FROM alltables GROUP BY year , gender More on reddit.com
🌐 r/SQL
9
1
January 17, 2024
Help with pgAdmin 4 - never asked to create a master password
Where is the server located? For example in Azure you can set up admin user and add an exception for your device in firewall settings. More on reddit.com
🌐 r/SQL
7
5
September 23, 2023
pgAdmin Generate ERD stuck on load
The ERD feature is quite new in pgAdmin as far as I know, so it might still be buggy. But I don't use pgAdmin, so I have no experience with that. Is there another way to get a visual representation of your DB in Postgres? I like https://schemaspy.org/ More on reddit.com
🌐 r/PostgreSQL
3
1
January 9, 2023
Top answer
1 of 6
30
  1. Open pgAdmin
  2. Connect to database server
  3. Edit => New Object => New database
  4. done

Or use plain SQL when connection to any database: CREATE DATABASE my_database;

2 of 6
16

HI ... Verify that u have done above steps to install the postgresql properly ... and follow the below instructions to create a database in POSTGRESQL

INSTALL POSTGRESQL

1.Install latest PostgreSQL 9.1 in console:

sudo apt-get install postgresql libpq-dev

2.PostgreSQL has a super user is called postgres. Change user to the PostgreSQL user:

sudo su - postgres

3.Change password of postgres user:

psql -d postgres -U postgres

psql (9.1.3) Type "help" for help

    postgres=# alter user postgres with password 'YOUR_NEW_PASSWORD';
    ALTER ROLE
    postgres=# \q
    #logout postgres user
    logout

4.Restart the PostgreSQL server:

sudo /etc/init.d/postgresql restart

pgAdmin III: PostgreSQL administration and management tools

If pgAdminIII is not installed, the installation is easy:

sudo apt-get install pgadmin3

ADD A SEVER

Open pgAdminIII and add new localhost server. Go to menu File > Add Server

Set up pgAdmin III server instrumentation:

When connecting to a PostgreSQL database using pgAdmin you may receive an error letting you know that the server instrumentation is not installed.

Install postgresql-contrib package:

sudo apt-get install postgresql-contrib

Install adminpack extension:

sudo -u postgres psql
postgres=# CREATE EXTENSION "adminpack";
postgres=# \q

CREATE DATABASE

1.Double Click your database in Left pane on PGAdmin to select it

2.Now click the a Icon named "SQL" ,probably 6th icon, and type CREATE table query in resultant window

EXAMPLE:

3.Create table query

CREATE TABLE explore(
SUBJECT  TEXT     NOT NULL,
COMPANY  CHAR(50) NOT NULL,
PNAME    TEXT     NOT NULL,
PHONE    INT      NOT NULL,
EMAIL    CHAR(50) NOT NULL,
REMARKS  CHAR(200) NOT NULL
);  

Post any queries below.............Have a error free day.

🌐
Tutorial Teacher
tutorialsteacher.com › postgresql › create-database
Create Database in PostgreSQL using psql and pgAdmin
Open pgAdmin and right-click on the server name (here it is default server name PostgreSQL 14) -> Create -> Database..., as shown below.
🌐
W3Schools
w3schools.com › postgresql › postgresql_pgadmin4.php
PostgreSQL - pgAdmin 4
PostgreSQL Home PostgreSQL Intro ... pgAdmin 4 · PostgreSQL CREATE TABLE PostgreSQL INSERT INTO PostgreSQL Fetch Data PostgreSQL ADD COLUMN PostgreSQL UPDATE PostgreSQL ALTER COLUMN PostgreSQL DROP COLUMN PostgreSQL DELETE PostgreSQL DROP TABLE Create Demo Database...
🌐
YouTube
youtube.com › watch
How To Create Server And Database Using pgAdmin 4 || Postgresql Tips Tutorials || Knowledge 360 - YouTube
#knowledge360 #akramsohail #akramsohailprojectYou Are Hearty Welcomed To My Channel Knowledge 360. Here I post technical videos, mainly related to computer s...
Published   May 29, 2022
🌐
YouTube
youtube.com › watch
How To Create A Database In PostgreSQL 16 Using pgAdmin 4 Or psql SQL Shell || PostgreSQL Tutorial - YouTube
#knowledge360 #akramsohail #akramsohailprojectYou Are Hearty Welcomed To My Channel Knowledge 360. Here I post technical videos, mainly related to computer s...
Published   March 6, 2024
Find elsewhere
🌐
TutorialKart
tutorialkart.com › postgresql › pgadmin-4-create-a-database
How to Create a Database in pgAdmin 4
November 26, 2024 - In the “Create – Database” dialog, you need to fill in the details for the new database. Start by entering the name of the database in the Database field. The name should be unique within the server and adhere to PostgreSQL naming conventions.
🌐
pgAdmin
pgadmin.org › docs › pgadmin4 › development › database_dialog.html
Database Dialog — pgAdmin 4 9.14 documentation
Use the Database dialog to define or modify a database. To create a database, you must be a database superuser or have the CREATE privilege.
🌐
StrongDM
strongdm.com › blog › security
Create a Database in PostgreSQL (Step-By-Step Guide)
January 7, 2025 - pgAdmin lets you create databases in a simplified manner by leveraging a graphical interface. It involves the following steps: On your PostgreSQL server’s dashboard, right-click the “Databases” menu.
🌐
pgAdmin
pgadmin.org › docs › pgadmin4 › 9.11 › database_dialog.html
Database Dialog — pgAdmin 4 9.11 documentation
Use the Database dialog to define or modify a database. To create a database, you must be a database superuser or have the CREATE privilege.
🌐
YouTube
youtube.com › watch
Creating Databases, Schemas, and Tables on pgAdmin - YouTube
In this tutorial, we'll walk you through the process of creating databases, schemas, and tables on pgAdmin, a powerful GUI tool for managing PostgreSQL datab...
Published   July 20, 2023
🌐
YouTube
youtube.com › ourtechroom
How to Create a Server and Database in pgAdmin 4 | Step by Step ? - YouTube
Are you looking to set up your own server and database using pgAdmin 4? This step-by-step tutorial will guide you through the entire process, making it easy ...
Published   January 4, 2025
Views   832
🌐
pgAdmin
pgadmin.org › docs › pgadmin4 › 8.14 › modifying_tables.html
Creating or Modifying a Table — pgAdmin 4 8.14 documentation
For example, to create a new table, Select a database from the tree control, select the schema under the database, right-click on the Tables node, and select Create Table…
🌐
Reddit
reddit.com › r/sql › what's the best way to set up this sql database in pgadmin4?
r/SQL on Reddit: What's the best way to set up this SQL database in PgAdmin4?
January 17, 2024 -

I’m newbie in SQL and would be awesome a help about how to approach this.

I'm working with a database with 9 million lines with the following structure:

  1. I have one table for each year from 2008 to 2022 (15 separate tables in total)

  2. All tables have the same columns

  3. Each table has nutritional information about thousands of people

  4. Each line represents a medical appointment, with the person data across the columns

  5. Each column is a type of info about a person (City, BMI, height, weight, race, gender, etc.)

  6. Each person has a unique ID Code

  7. Each record also has a unique ID

  8. In the same year the person can show in more than one line, meaning that she had multiple medical appointments that year, so it will have same person ID, different appointment ID.

  9. Different appointments, even from the same person, have different ID Codes

  10. There are columns with blank values, when that info doesn’t apply for that person.

  11. Not all the people who appear in a year will show in the other years, but some do.

What I need from this data: perform several different analysis, mainly descriptive, like:

a) Historical analysys - I need to see for each year the composition of the population, so, from 2008 to 2022, for each year: how was the % of male and female? Of black, white and yellow people? Of children, teenagers, adults and elderly? And other questions like those.

b) Evolution of groups - What happened to the teenagers who were malnourished in 2014 after 5 years? I want to take a sample and track the evolution by the ID of the person

c) 2022 in depth-analysis - How all factors influences each other? How malnutrition affects black girls? What about black girls in cities from the countryside? I want to make “cross-analysis” like those for just 1 or 2 years. Sample of how the tables are structured

So, what’s the best approach? Do I make one big table with everything? Do I keep them separated by year and make relationships between them? If so, how, given that they represent medical appointments of multiple people across the years, but there’s only a few people who's present in all the years? Would be faster to create one table with all the people from all the years and other connected tables grouped by something else than year?

Thanks in advance :)))

🌐
EnterpriseDB
enterprisedb.com › postgres-tutorials › how-create-postgresql-database-and-users-using-psql-and-pgadmin
How to create a PostgreSQL database and users using psql and pgAdmin | EDB
While working with PostgreSQL the two basic requirements is to create a database and set up a few users. This will help us in eliminating the need for reinstallation, if we mess up the default set of databases or users that already exist, while trying to learn and build our understanding. We will go through the steps for both psql and pgAdmin in order to ensure that you do not get stuck if you are using one or the other.
🌐
YouTube
youtube.com › edb
How To Create A Postgres Database Using pgAdmin - YouTube
Gary Carter, Product Manager, EnterpriseDB Corporation Spend 10 minutes with Gary as he walks through the basics of creating your first database using pgAdmi...
Published   March 19, 2010
Views   544K
🌐
pgAdmin
pgadmin.org › docs › pgadmin4 › 9.10 › database_dialog.html
Database Dialog — pgAdmin 4 9.10 documentation
Use the Database dialog to define or modify a database. To create a database, you must be a database superuser or have the CREATE privilege.
🌐
DevArt
blog.devart.com › home › how to › how to create a new database in postgresql
How to create a new database in PostgreSQL?
July 7, 2025 - pgAdmin is a default user-friendly psql client. Basically, it comprises the same functionality as the command-line tool, but in the form of an intuitive graphical client. ... 3. In the Create Database dialog box that opens, enter the name for the future PostgreSQL database and choose the owner: 4.