You can also set it system wide:
http://www.nextofwindows.com/how-to-addedit-environment-variables-in-windows-7
if you only need the connection in QGIS you can easily go with adjusting
qgis.bat but if you also would like to access the DB from other programs
it's a good idea to set it on system level.
Matthias
On 19/07/16 12:48, fuenfer-koenigstein.benja...@swm.de wrote:
>
> Thanks a lot, worked great! Great solution for us to just change the
> qgis.bat after installation.
>
>
>
> Benjamin Fünfer-Königstein
>
> S-IP-AN-TG Techn. Geschäftsfelder
>
>
>
> *Von:*Blumentrath, Stefan [mailto:stefan.blumentr...@nina.no]
> *Gesendet:* Dienstag, 19. Juli 2016 11:33
> *An:* Fuenfer-Koenigstein.Benjamin S-IP-AN-TG; qgis-user@lists.osgeo.org
> *Betreff:* RE: environment variable
>
>
>
> Maybe it helps to add the declaration of that environment variable to
> the qgis.bat startup?
>
>
>
> Cheers
>
> Stefan
>
>
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user