| От | Michael Fuhr |
|---|---|
| Тема | Re: Creating a database with psql |
| Дата | |
| Msg-id | 20050720100549.GA43010@winnie.fuhr.org обсуждение исходный текст |
| Ответ на | Creating a database with psql (Josef Springer <Josef.Springer@JOOPS.COM>) |
| Список | pgsql-general |
On Wed, Jul 20, 2005 at 11:28:23AM +0200, Josef Springer wrote: > i want to automate the startup of my database. So i have to create first > an user and a database, second the schema, all with psql. But how can i > create a database with psql if no database exist ? When you first install PostgreSQL, you run initdb to initialize a cluster. This creates a few default databases and a database superuser. Then you start the backend and make connections to it using psql or some other client. See the "Server Administration" part of the documentation for more information: http://www.postgresql.org/docs/8.0/static/admin.html -- Michael Fuhr http://www.fuhr.org/~mfuhr/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера