[OSM-dev] Osmosis cannot connect to DB
Brett Henderson
brett at bretth.com
Mon Sep 29 07:22:25 BST 2008
On Mon, Sep 29, 2008 at 11:51 AM, Andreas Kalsch <andreaskalsch at gmx.de>wrote:
> Hi,
>
> I haven't found a solution by search to this problem. Osmosis cannot
> connect to my database. I can connect on my system with the same
> user/password. The same input worked in the past - and I haven't changed
> the scheme and Osmosis version since then. A system reboot does not
> help, too.
>
> Does someone know what I can do?
Can you please send the entire stack track from osmosis? You have cut out
much of the output. The real reason is likely to be further down ...
>
>
> mesolt11:/home/andi/opw# osmosis/bin/osmosis --read-xml
> file=data/osm/belgium.osm --write-mysql host=localhost
> database=osm_belgium user=xxxx password=xxxx
> Sep 27, 2008 4:19:19 PM com.bretth.osmosis.core.Osmosis main
> INFO: Osmosis Version 0.29
> Sep 27, 2008 4:19:19 PM com.bretth.osmosis.core.Osmosis main
> INFO: Preparing pipeline.
> Sep 27, 2008 4:19:19 PM com.bretth.osmosis.core.Osmosis main
> INFO: Launching pipeline execution.
> Sep 27, 2008 4:19:19 PM com.bretth.osmosis.core.Osmosis main
> INFO: Pipeline executing, waiting for completion.
> Sep 27, 2008 4:19:19 PM
> com.bretth.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
> SEVERE: Thread for task 1-read-xml failed
> com.bretth.osmosis.core.OsmosisRuntimeException: Unable to establish a
> database connection.
> at
>
> com.bretth.osmosis.core.mysql.common.DatabaseContext.getConnection(DatabaseContext.java:92)
>
> at
>
> com.bretth.osmosis.core.mysql.common.DatabaseContext.executeStreamingQuery(DatabaseContext.java:198)
>
> at
>
> com.bretth.osmosis.core.mysql.common.SchemaVersionValidator.validateDBVersion(SchemaVersionValidator.java:63)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080929/2c28cf1c/attachment.html>
More information about the dev
mailing list