Skip to main content

How to call vsql from cygwin under windows?

  • May 22, 2017 6:52 PM UTC
  • 3 replies
  • 21 views

usao
Forum|alt.badge.img
  • Participating Frequently

Im looking for a way to create scripts and schedule jobs from my PC to Vertica running on a Linux server.
I installed the vsql client on my PC. When I try to run the vsql client, it prompts me for a password. However, it just echos the password to the screen as I type then hangs after I hit enter. If I put the "-w" option with the password on the command line, then vsql just hangs.
In both cases, I never get a SQL prompt.

3 replies

Shayon_Sanyal
Forum|alt.badge.img
  • Participating Frequently
  • May 23, 2017 1:21 PM UTC

Hi, can you check if you have added the vsql executable to the Windows PATH environment variable? After you have made the change to your PATH environment variable, start a command window and type vsql -? at the command prompt to start vsql.


Shayon_Sanyal
Forum|alt.badge.img
  • Participating Frequently
  • May 23, 2017 1:30 PM UTC

Jim_Knicely
Forum|alt.badge.img+2
  • Participating Frequently
  • Jun 9, 2017 2:01 AM UTC