It seems odd that it's not finding the database. Can you try this please to verify that you can connect to the openstreetmap database explicitly? mysql -h 127.0.0.1 -u root -p rose *openstreetmap*
On Tue, Apr 20, 2010 at 9:29 PM, M Naveed Akram <[email protected]> wrote: > Yes database is present, also accessible.. i can check it via mysql -h > 127.0.0.1 -u root -p rose > > > On Tue, Apr 20, 2010 at 4:17 PM, Peter Körner <[email protected]>wrote: > >> M Naveed Akram schrieb: >> >> Hi i get following when exporting osm from db, please help >>> >>> >>> >>> $ ./osmosis --read-apidb host="127.0.0.1" database="openstreetmap" >>> user="root" password="rose" dbType="mysql" --write-xml file="output.osm" >>> >>> >> ... >> >> (FATAL: database "openstreetmap" does not exist) >> ... >> >> Q: Does the database "openstreetmap" exist and does the user root have >> access to it? >> >> Peter >> > >
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
