orientechnologies / orientdb

OrientDB is the most versatile DBMS supporting Graph, Document, Reactive, Full-Text and Geospatial models in one Multi-Model product. OrientDB can run distributed (Multi-Master), supports SQL, ACID Transactions, Full-Text indexing and Reactive Queries.
https://orientdb.dev
Apache License 2.0
4.74k stars 870 forks source link

OrientDB 3.2.18 : console client(console.sh) fails to connect to DB #9967

Open suneelkumarch opened 1 year ago

suneelkumarch commented 1 year ago

Discussed in https://github.com/orientechnologies/orientdb/discussions/9966

Originally posted by **suneelkumarch** April 18, 2023 Running OrientDB in a container as non-root user. And connecting to DB using console client `sh ./bin/console.sh "CONNECT remote:localhost/db root $ORIENTDB_ROOT_PASSWORD; LOAD SCRIPT ./scripts/orientdb-schema-setup.osql " ` This above command used to work with OrientDB v3.2.2, but it fails with following error in 3.2.18 `OrientDB console v.3.2.18 (build 75890139e2e64b786a59c95b913af9fbb86c5cfc, branch UNKNOWN) https://www.orientdb.com. Type 'help' to display all the supported commands.` `Error: com.orientechnologies.orient.core.exception.ODatabaseException: Error creating OrientDB remote factory` `Error: java.lang.IllegalArgumentException`
tglman commented 1 year ago

Hi,

A workaround is available in this discussion: https://github.com/orientechnologies/orientdb/discussions/9966 anyway let's keep this around, this should work for backward compatibility.

Bye