PostgreSQL
De MochilaWiki
Revisão de 21h24min de 7 de janeiro de 2015 por Banto Palmarino (discussão | contribs) (→instalando no openSUSE)
pg_dump -C -h IP_DO_SERVIDOR -U USUARIO_DO_DB DB_NAME > bkp.sql
alterando a senha
# su - postgres $ psql postgres postgres=# alter user postgres with encrypted password '123456'; postgres=# \q
instalando no openSUSE
zypper install -y postgresql postgresql-server rcpostgresql start su - postgres psql postgres=# ALTER USER postgres WITH PASSWORD 'postgres'; postgres=# \q sed -i '82s/ident/trust/g' /var/lib/pgsql/data/pg_hba.conf rcpostgresql restart