vsql: could not connect to server: Network is unreachable
I can't connect to a hp vertica database from a linux fedora machine using the vsql client.
My goal is to test the connection between my linux fedora machine with hp vertica database machine.
I try to connect executing this comand showed below
@localhost bin]$ ./vsql <address_ip> -U <database_user> -C -w <database_password> -p 5433
vsql: could not connect to server: Network is unreachable
Is the server running on host "???" and accepting
TCP/IP connections on port 5433?
I have tried with another option listed below using the same vsql client without port
@localhost bin]$ ./vsql <address_ip> -U <database_user> -C -w <database_password>
vsql: could not connect to server: Network is unreachable
Could anyone tell me how could I test the connection between linux fedora machine with hp vertica database?
Thanks in advance
Best regards
0
Comments
Hi
This should work for you
./vsql -h <address_ip> -U <database_user> -C -w <database_password>
Hope it wil help
Thanks