q/kdb+ windows server setup

2019-04-28 16:25发布

问题:

I'm trying to setup qStudio in windows. While adding a new server, an error message pops up, saying:

Connection does not work.java.io.IOException: java.sql.SQLException: Connection refused: connect.

Used default "Server Properties" configuration:

Host: localhost Port: 5000 Server Type: KDB Username: Password:

Very new to Q/KDB+.. Searched in google, but didn't find the answer. please help! Thank you!

回答1:

Might be a silly question but have you set up a KDB+ process yet?

  1. Download the free version from http://kx.com/software-download.php
  2. Explode to C:\q, set up QHOME environment var to point to this location
  3. From dos run C:\q\w32\q.exe -p 5000 (you now have a database running on localhost:5000)

Then try qStudio again. Should connect fine.



标签: kdb