I figure what i'm trying to do isn't supported but i'll proceed with my 
question anyway:

I create and start my DB in auto mixed mode:
jdbc:h2:/home/me/TestDB;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9091

Then i want to connect to the server which is running (have tested this, 
can see the thread alive in my debugger etc)
jdbc:h2:tcp://myDBServer:9091/home/me/TestDB;IFEXISTS=TRUE

But when i try a connect with this URL - i get this error: Wrong user name 
or password [28000-166]

The username and password i supply are correct though - i also tried:
jdbc:h2:tcp://myDBServer:9091/home/me/TestDB;IFEXISTS=TRUE;USER=xyz;PASSWORD=xyz
But to no avail.

I figure at the very least if this URL connect isn't supported to an 
autoserver DB - the error should reflect this - or i'm specifying something 
wrong?

This page doesn't cater for what i want with mixed mode but maybe the error 
should be like 'tcp connect to embedded db not supported'?:
http://www.h2database.com/html/features.html#database_url

-- 
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/-/8NFOICZ355sJ.
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