Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /data/e/7/e76990b9-3372-4d88-8089-fce36e16744a/webperfection.net/sub/rady-nosu/wp-content/plugins/seo-ultimate/modules/class.su-module.php on line 1195
Postgresql pridanie usera | Real Solution for Your Problem!

September 2, 2018 | In: Programovanie

Postgresql pridanie usera

Pred spustenim servera, treba zmenit ownera na subore : server.key

chown postgres.postgres /var/lib/postgresql/8.4/main/server.key

V novsich verziach to mozno netreba.

potom prihlasit sa na psql

1. su – postgres
psql

vytvorenie noveho superuser

CREATE ROLE mysuperuser2 WITH SUPERUSER CREATEDB CREATEROLE LOGIN ENCRYPTED PASSWORD ‘mysuperpass2’; // heslo musi byt v uvodzovkach

a potom sa da zvysok upravit v pgadmine

Share This:

Comments are closed.