[OSM-dev] Osmosis: Unable to find database driver

Brett Henderson brett at bretth.com
Tue Nov 13 21:55:11 GMT 2007


Frederik Ramm wrote:
> Hi,
>
>   
>>    I tried to import the planet.osm file with osmosis but get only the error
>>    message : Unable to find database driver.
>>    I installed MySQL5.0.45 and mysql-connector-java-5.1.5 under Windows XP
>>    and set the CLASSPATH environment variable to the connector path.
>>     
>
> This may be stating the obvious but are you sure you actually included
> the full path name of the connector .jar file in your classpath (as
> opposed to just adding the directory the jar file is in)? Other than
> that I have no idea what could be wrong.
>
> Bye
> Frederik
>
>   
I don't know either.  Can you provide your full command line, the full 
error message (with stack trace) and CLASSPATH?

Brett





More information about the dev mailing list