<br />If you would use SPIT (in the Database menu), then you could create a connection to your PostGIS-DB. In the dialog you have to provide your user name (password). Click the New or Neu button (depending on the language of your QGIS installation) in order to create the connection you need. Then you should be able to upload your vector layers.<br /><br />Torsten<br />
<p> </p>
Anfang der weitergeleiteten E-Mail<br />
<blockquote style="margin-left: 0; padding-left: 5px; border-left: 2px solid navy;">Von: junek@gbd-consult.de<br /> An: torsten.lange@mail.de<br /> Datum: 28-Apr-2015 15:26:43 +0200<br /> Betreff: Re: [Qgis-user] authentication when using 'Import Vector into PostGIS database (available connections)'<br /><br /> Hello Torsten,<br /> anyway if I don't use the GDAL algorithm for the task but the QGIS<br /> Algorithm 'Import into PostGIS' the import works fine...<br /> Sorry, I just used 'postgresql start'. How can I initialize a valid<br /> connection between QGIS and PostGIS as a first step? The GDAL algorithm<br /> seems to be complicated in use from processing. And I will have to<br /> describe all this information in the user manual ...)-:<br /> Thanks.<br /><br /> Kind regards,<br /> Larissa<br /><br /> Am Tue, 28 Apr 2015 14:58:43 +0200<br /> schrieb Torsten Lange <<a href="mailto:torsten.lange@mail.de" target="_blank">torsten.lange@mail.de</a>>:<br /><br /> > I Larissa,<br /> > <br /> > it's Postgresql complaining that no user name is provided for the<br /> > request. Do you have a valid connection initialised befor between<br /> > QGis and PostGIS?<br /> > <br /> > Torsten<br /> > <br /> > Am 28-Apr-2015 14:36:31 +0200 schrieb <a href="mailto:junek@gbd-consult.de" target="_blank">junek@gbd-consult.de</a>: <br /> > Hello,<br /> > <br /> > I'm currently checking out 'Import Vector into PostGIS database<br /> > (available connections)' from the processing algorithms for the user<br /> > manual.<br /> > I have started my database connection with 'rcpostgresql start' and<br /> > then filled in the parameters of the a.m. import tool. In 'History<br /> > and log' is documented:<br /> > <br /> > GDAL execution console output<br /> > ERROR 1: PQconnectdb failed.<br /> > FATAL: kein PostgreSQL-Benutzername im Startpaket angegeben (= given<br /> > no PostgreSQL-username in the starter kit)<br /> > <br /> > How can I authenticate to the database so that the vector layer will<br /> > be imported? Which additional steps are to be done?<br /> > <br /> > Kind regards,<br /> > Larissa<br /> > _______________________________________________<br /> > Qgis-user mailing list<br /> > <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br /> > <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /><br /><br /><br /> -- <br /> Geoinformatikbüro Dassau GmbH <br /> Rethelstrasse 153<br /> D - 40237 Düsseldorf<br /> Tel: +49-211-69937750<br /> Fax: +49-211-69937751<br /> Mobile: +49-171-4687540<br /><a href="http://www.gbd-consult.de" target="_blank">http://www.gbd-consult.de</a><br /><br /> Registergericht: Amtsgericht Düsseldorf, HR B 74022<br /> Geschäftsführer: Otto Dassau</blockquote>