util.update.php has the database name hard codded into it in various place - yes I know, I'll fix it at some point. In the mean time search through for gazetteerworld / gazetteer and update to your database name where needed.<div>
<br><div class="gmail_quote">On Fri, Jun 25, 2010 at 3:45 PM, Xavier Richez <span dir="ltr"><<a href="mailto:x.richez@m-plify.com">x.richez@m-plify.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
Hello geocoders,<br>
<br>
I'm trying to install Gazetteer on my computer, in order to do
geocoding like the Nominatim server does. I followed these instructions
:
<a href="http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/gazetteer/README.txt" target="_blank">http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/gazetteer/README.txt</a><br>
<br>
But I'm stuck at the moment where I should index the database : <br>
[Xavier@dev1 gazetteer]$ ./util.update.php --index<br>
DB Error: connect failed<br>
<br>
What am I missing ? I already installed an OSM Server, so I'm used to
osm2pgsql and the database setup. But I'm a newbie with PHP and a
helping hand would be welcome ;)<br>
<br>
Thanks for your answers !<br>
<br>
<div>-- <br>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td height="10"><br>
</td>
<td width="522"><br>
</td>
<td height="10" width="640"><br>
</td>
</tr>
<tr>
<td colspan="3" height="35" valign="top" align="left"><img alt="" border="0" height="29" width="49">
</td>
</tr>
<tr>
<td style="padding-left:14px" height="22" valign="top" width="325" align="left"><a href="http://www.m-plify.com/" target="_blank"><img alt="logo" style="border:medium none" height="29" width="124"></a>
</td>
<td colspan="2" valign="middle" align="right">Crisis
Communication
<span> | </span>Disaster Management<span> | </span>IT Security<span>
| </span>Business Continuity
</td>
</tr>
<tr>
<td height="43" valign="top" align="left">
<p>Xavier Richez</p>
<p>Application Development</p>
</td>
<td colspan="2" valign="bottom" align="right"><a href="http://www.alarmtilt.com/" target="_blank">www.alarmtilt.com</a>
</td>
</tr>
<tr>
<td height="20"><img alt="ligne" style="margin-left:14px" height="20" width="40"></td>
<td colspan="2" valign="middle" align="right"><img alt="ligne" style="margin-right:10px" height="20" width="40">
</td>
</tr>
<tr>
<td height="53" valign="top" align="left">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><span>Phone:</span></td>
<td>+352 261 846 156</td>
</tr>
<tr>
<td><span>Mobile:</span></td>
<td>+352 621 23 68 42</td>
</tr>
<tr>
<td><span>Fax:</span></td>
<td>+352 261 846 956</td>
</tr>
<tr>
<td colspan="2"><span><a href="mailto:x.richez@m-plify.com" target="_blank">x.richez@m-plify.com</a></span></td>
</tr>
</tbody>
</table>
</td>
<td colspan="2" height="53" valign="top" align="right">21, rue Glesener<br>
L-1631 Luxembourg
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>_______________________________________________<br>
Geocoding mailing list<br>
<a href="mailto:Geocoding@openstreetmap.org">Geocoding@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/geocoding" target="_blank">http://lists.openstreetmap.org/listinfo/geocoding</a><br>
<br></blockquote></div><br></div>