[OSM-dev] A really obvious question?

Brett Henderson brett at bretth.com
Tue Sep 8 04:46:01 BST 2009

Hi Neil,

I don't have any instructions handy but the steps should be *almost* 
identical to the way you used to do it.  You now need to use the 
--write-apidb task instead of the --write-mysql task.  You also need to 
add the "dbType=mysql" option because it defaults to postgresql.

What problems are you having?

Note that MySQL isn't tested any more so there's a chance things could 


nbu wrote:
> Hi, I've used Osmosis in the past (about a year ago) to import .OSM 
> file into a local MySQL database. But I am now getting completely 
> stuck. I think the problem centers around the update to version 0.6 of 
> the API.
> I have the latest copy of Osmosis, I have the 0.6 DB schema set up and 
> I'm downloading OSM data data from the OSM front page.
> Could someone produce a quick set of instructions confirming the 
> command line to import an OSM file into a MySQL DB assuming the latest 
> version of everything is in use?
> Many thanks,
> Neil Urquhart,
> Edinburgh, Scotland
> ------------------------------------------------------------------------
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090908/22256d27/attachment.html>

More information about the dev mailing list