i installed trino on my macbook pro. also installed jdk version 22 and python3 . when i run trino using launcher , it says it started…then i run the command to invoke CLi and it goes into CLI> prompt. howevber when i try to execute like a simple command “show catalogs;” i get following error “java.net.ConnectException: Failed to connect to localhost/[0:0:0:0:0:0:0:1]:8080”
can someone help me in deciphering this?
This looks like a network issue. I assume you using a tarball install. If that is the case just start trino on the command line with
bin/launcher run
and look at the log. Then use a web browser to navigate to http://localhost:8080 … and you should see the web UI login.
Once you confirmed in the log and the web ui that Trino is actually running, you can try the CLI next to figure out if connecting from a client works.
Also note there are step by step instructions in the book Trino The Definitive Guide