Skip to content
Tim Abell edited this page Sep 16, 2016 · 23 revisions

Download SqlHawk here, and get the dependencies ready.

https://github.com/timabell/sqlHawk/releases

Dependencies

Html output - dot

For the relationship graphs you will need the dot executable - graphviz download page / graphviz 2.38 direct download (also available via NPackd or chocolatey).

Sql Server - jtds

To connect to Sql Server you will also need the jtds driver http://jtds.sourceforge.net/ (jtds-1.2.5-dist.zip direct download), Extract this and place the contents in a new folder: "C:\Program Files\jtds-1.2.5" (or adjust the example paths below). Specify the path of the jar in the command line as follows:

java -jar sqlHawk.jar                                            ^
     --driver-path "C:\Program Files\jtds-1.2.5\jtds-1.2.5.jar"  ^
      ... etc

Single sign-on (--sso) for Sql Server additionally requires ntlmauth.dll which can be found in jtds-1.2.5-dist\x86\SSO\ in the jtds zip (or the x64 path for 64bit Windows). Copy this file to C:\Windows\System32\