Giter VIP home page Giter VIP logo

Comments (8)

prrvchr avatar prrvchr commented on June 17, 2024

Well I was missing the archive okhttp-4.12.0.jar.

Now everything works fine. Sorry for the inconvenience I'm closing...

from trino.

findepi avatar findepi commented on June 17, 2024

trino-jdbc driver should be standalone, it should not require any dependencies.

cc @electrum @wendigo

from trino.

wendigo avatar wendigo commented on June 17, 2024

It is standalone. We verify the shading

from trino.

prrvchr avatar prrvchr commented on June 17, 2024

It would be good to include in the technical specifications:

  • Java 8
    - okhttp

from trino.

findepi avatar findepi commented on June 17, 2024

@prrvchr yes, Java 8 is required
but okhttp must not be required. can you verify the problem with a standalone Java application with only trino-jdbc on the classpath?

from trino.

prrvchr avatar prrvchr commented on June 17, 2024

Hi findepi,

I have accumulated problems and I made a mistake, the okHttp archive is not necessary I still cannot connect but the absence of the archive does not change anything.

java.sql.SQLException: Error executing query: java.io.IOException: unexpected end of stream on http://127.0.0.1:8888/...

Sorry for this fake bug...

PS: I can't figure out how to configure a catalog with docker to connect to a MariaDB instance. I cannot locate the files used by trino and docker to declare the MariDB catalog.

from trino.

findepi avatar findepi commented on June 17, 2024

I have accumulated problems and I made a mistake, the okHttp archive is not necessary I still cannot connect but the absence of the archive does not change anything.

no worries, thanks for checking

I can't figure out how to configure a catalog with docker

@mosabua will be able to help

from trino.

mosabua avatar mosabua commented on June 17, 2024

See https://trino.io/docs/current/installation/containers.html#configuring-trino for how to use external config file (including additional catalog properties files) with the docker container

from trino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.