Export to GitHub

h2sharp - issue #2

Connection string not consistent with ADO.NET


Posted on Jun 5, 2008 by Grumpy Camel

Right now the password and username are not in the connection string and are parameters. Also there is a lack of a connection string builder.

Comment #1

Posted on Jul 4, 2008 by Quick Cat

Hi, Could you provide an example? H2 supports using the user name and password in the connection URL. Regards, Thomas

Comment #2

Posted on Oct 14, 2009 by Helpful Giraffe

Hello Thomas, Could give an example of the syntax to use when we include user name and password into the connection url string

Comment #3

Posted on Oct 16, 2009 by Quick Cat

Sure, the syntax is documented here: http://www.h2database.com/html/features.html#passwords "Passing the User Name and/or Password in the URL"

Example: jdbc:h2:~/test;USER=sa;PASSWORD=123

Status: Accepted

Labels:
Type-Defect Priority-Medium