PostgreSQL-通过pgAdmin UI创建一个新的数据库 [英] PostgreSQL - create a new DB through pgAdmin UI
问题描述
我已经在Ubuntu计算机上安装了PostgreSQL数据库服务器.现在,我想通过一些GUI应用程序创建一个新的数据库.我尝试了pgAdmin,但没有找到创建新数据库的任何选项.但是我可以添加现有的数据库服务器.
I have installed PostgreSQL DB server on my Ubuntu machine. Now I want to create a new Database through some GUI application. I tried pgAdmin but didn't find any option to create a new DB. But I could add existing db servers.
有什么方法可以创建数据库,然后通过pgAdmin或其他一些应用程序创建表.
Is there any way to create a DB and then tables through pgAdmin or some other app.
基本上,我正在寻找PostgreSQL的应用程序,例如 SQLYog for MySQL.
Basically I am looking for an application for PostgreSQL like SQLYog for MySQL.
推荐答案
- 打开pgAdmin
- 连接到数据库服务器
- 编辑=>新对象=>新数据库
- 完成
或在连接到任何数据库时使用纯SQL:CREATE DATABASE my_database;
Or use plain SQL when connection to any database: CREATE DATABASE my_database;
这篇关于PostgreSQL-通过pgAdmin UI创建一个新的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!