Database users on creation

30 views
Skip to first unread message

Sean Salsman

unread,
Dec 7, 2021, 11:42:36 AM12/7/21
to H2 Database
Hi!

I'm having an issue testing in Spring Boot on my Mac, wherein H2 throws an error during initialization: "Wrong user name or password [28000-199]"

It's because it's expecting a certain user name that is present in the ConnectionInfo object when it gets initialized, and it's pulling a different name from my Mac. It works fine on Windows, though. There are a few other differences as well, when it initializes. On my Mac, somehow it initializes with 435 records, while the exact same code base initializes with 2 records on Windows.

Anyone have any ideas where H2 is pulling my user name from on Mac, and why it's so different than what it's doing on Windows?

Thank you
Reply all
Reply to author
Forward
0 new messages