#39078
Mario Del Pozzi
Participante

Hola a todos
Les paso como configure la base de Datos Libertya y quedo funcionando:

Creamos la base Libertya para luego subir el DUMP.
sudo -u postgres psql
postgres=#CREATE ROLE libertya LOGIN ENCRYPTED PASSWORD ‘libertya’ SUPERUSER CREATEDB CREATEROLE VALID UNTIL ‘infinity’ IN ROLE postgres;
postgres=#UPDATE pg_authid SET rolcatupdate=true WHERE rolname=’libertya’;
postgres=# q
sudo -u postgres createlang plpgsql template1
sudo -u postgres psql
postgres=#CREATE DATABASE libertya WITH ENCODING=’UTF8′ OWNER=libertya;
postgres=# q
sudo -u postgres psql -h localhost -U libertya -d libertya -f /tmp/dump_libertya_1503ar.sql > /tmp/dump.log 2>&1