<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Neil,<br>
<br>
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.<br>
<br>
What problems are you having?<br>
<br>
Note that MySQL isn't tested any more so there's a chance things could
break.<br>
<br>
Brett<br>
<br>
nbu wrote:
<blockquote cite="mid:8571.78920.qm@web24613.mail.ird.yahoo.com"
 type="cite">
  <style type="text/css"><!-- DIV {margin:0px;} --></style>
  <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: rgb(0, 0, 0);">
  <div>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.<br>
  <br>
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.<br>
  <br>
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?<br>
  <br>
Many thanks,<br>
  <br>
Neil Urquhart,<br>
Edinburgh, Scotland <br>
  </div>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a>
  </pre>
</blockquote>
<br>
</body>
</html>