Can't connect to h2 remote database from my server

45 views
Skip to first unread message

Mohammad Moein Abdi

unread,
Jun 14, 2020, 7:32:42 AM6/14/20
to H2 Database
Hello, I have an application that uses h2 database and for some reason I need to connect to my database using intellj idea database tools...

here is the URL that I use in my application to use H2 database:

jdbc:h2:./cafeDB;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=7080


and here is the database tools configurations:

Screen Shot 1399-03-25 at 15.51.28.png



the port is ok, but when I click Test connection, it keeps asking me the db's username and password, and even when I put the the correct information and submit it says:


The specified database user/password combination is rejected: [28000][28000] Wrong user name or password [28000-200]



I'm new to h2 database :(
Reply all
Reply to author
Forward
0 new messages