Hi,

If the database says wrong user name or password then most likely this is
the problem. If you get the same error after deleting the database, then I
guess you deleted the wrong database...

What could help analyzing the problem is using an absolute path:

jdbc:h2:/data/h2/test;AUTO_SERVER=TRUE;MODE=MySQL

Regards,
Thomas


On Tuesday, July 3, 2012, Art wrote:

> Currently, my jdbc url is: jdbc:h2:~/test;AUTO_SERVER=TRUE;MODE=MySQL
> Here are the settings I am using:
>       <property name="javax.persistence.jdbc.driver_class"
> value="org.h2.jdbcDriver"/>
>       <property name="javax.persistence.jdbc.username" value="sa"/>
>       <property name="javax.persistence.jdbc.password" value=""/>
>       <property name="javax.persistence.jdbc.url"
> value="jdbc:h2:~/test;AUTO_SERVER=TRUE;MODE=MySQL"/>
>
> I can start my app and its DB functions are fine.  I have my
>
> I want to connect to the same DB from another JDBC client (Netbeans DB
> browser)
> I'm using the same URL and user/password, but I get "Wrong user name or
> password [28000-164]"
> I've tried deleting the DB files and starting over, but no luck.
> Any ideas?
> (forgive the formatting, this is an old version of firefox on this pc)
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/h2-database/-/KrtQp4RL3RwJ.
> To post to this group, send email to 
> [email protected]<javascript:_e({}, 'cvml', 
> '[email protected]');>
> .
> To unsubscribe from this group, send email to
> [email protected] <javascript:_e({}, 'cvml',
> 'h2-database%[email protected]');>.
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to