blacklabelops-legacy / hsqldb Goto Github PK
View Code? Open in Web Editor NEWDocker Container with HSQLDB
License: MIT License
Docker Container with HSQLDB
License: MIT License
When you specify a password with a not null nor empty value (using environment variable HSQLDB_PASSWORD) and try to connect to your hsqldb instance, you'll get following error :
org.hsqldb.HsqlException: invalid authorization specification
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.rights.User.checkPassword(Unknown Source)
at org.hsqldb.rights.UserManager.getUser(Unknown Source)
at org.hsqldb.Database.connect(Unknown Source)
at org.hsqldb.DatabaseManager.newSession(Unknown Source)
at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
I don't get this error when no password is set.
I take a look in the entrypoint shell script and find a typo i guess, let's see :
if [ -n "${HSQLDB_USER}" ]; then
hsqldb_user=${HSQLDB_USER}
fi
hsqldb_password=""
if [ -n "${HSQLDB_PASSWORD}" ]; then
hsqldb_user=${HSQLDB_PASSWORD}
fi
Fix easy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.