← Back to team overview

dhis2-users team mailing list archive

Re: importing sql file in postgresql database

 

Hi @Hakizimana
firstly, we must create a blank database in pgadmin3. Then type the
following command in the psql command prompt:

psql-d NAME_DATABASE-U-f NAME_USER PATH_FILE_SQL


2014-03-04 8:58 GMT+01:00 HAKIZIMANA Franck <francescohaki@xxxxxxxxx>:

> hi,
>
> I want to import sql file into postgresql database that I want to use in
> dhis2 2.14 live in local, but I have tried many ways I failed to import it
> in postgresql.
> Could someone help me on this issue?
>
> best regards,
>
> Franck
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Riddy NDOMA
Software Developer
*Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
*Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
*Blog:* http://riddyndoma.blogspot.com/

Vous servir est mon désire (Serving you is my desire)

Follow ups

References