| От | Jean-Yves F. Barbier |
|---|---|
| Тема | Re: "Database does not exist"... but it does exist |
| Дата | |
| Msg-id | 20110121181338.4675bb09@anubis.defcon1 обсуждение исходный текст |
| Ответ на | "Database does not exist"... but it does exist (Mike Thomsen <mikerthomsen@gmail.com>) |
| Ответы |
Re: "Database does not exist"... but it does exist
|
| Список | pgsql-novice |
On Fri, 21 Jan 2011 12:01:40 -0500, Mike Thomsen <mikerthomsen@gmail.com>
wrote:
...
> psql -U postgres -c "create user miket with password 'miket'"
> createdb testingdb -U postgres
> psql -U postgres -d testingdb -c "create schema testingdb authorization
> miket" psql -U postgres -d testingdb -c "grant all privileges on database
> testingdb to miket"
I guess that if you used the 1st line you weren't 'postgres' user, so the 2nd
line can't give anything unless issued the way the 1st is.
--
My way of joking is to tell the truth. That's the funniest joke in the world.
-- Muhammad Ali
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера