<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello all.<br>
<br>
I have done this before on different installs, but this time I can't get it right.<br>
<br>
I am trying to add a table to a postgres database, by importing a .shp-file. It fails to import the table and gives this error:<br>
<br>
DBMI-PostgreSQL driver error:<br>
Connection failed.<br>
fe_sendauth: no password supplied<br>
<br>
I have set the password like this<br>
db.login driver=pg database=marine_box user=xxx password=xxx<br>
and the connection like this:<br>
db.connect driver=pg database="host=localhost,dbname=marine_box"<br>
<br>
Is this not  way to do it?<br>
<br>
I also tried to copy a table from dbf to pg without success.<br>
<br>
are there any other parameters that need to be set?<br>
<br>
I installed grass70 using the ppa found here:<br>
https://launchpad.net/~grass/+archive/grass-devel <br>
<br>
I have also recently upgraded to ubuntu 13.04<br>
<br>
Martin<br>
</div>
</body>
</html>