How To Setup Linklint In Cygwin For Windows

Here is a short guide on how to setup Linklint windows machine using cygwin.

Setup Instructions:

  1. Install Cygwin, and make sure that you install the perl package.
  2. Create a folder for Linklint (mine is c:/apps/linklint/).
  3. Download Linklint.
  4. Extract the archive of Linklint to the folder you created in step 2.
  5. Open Cygwin, and move to the folder you created in step 2.
  6. run "$ perl linklint-x-x-x" (this will bring up some instructions & options)

How To Install Cygwin For Windows

This is just some very breif instructions on how to install cygwin for windows.

For those of you that do not already know, cygwin is a linux-like environment for windows

  1. Create a folder c:\cygwin
  2. Download cygwin's setup.exe from http://www.cygwin.com/ and save setup.exe in c:\cygwin
  3. Click Start...Run...and type c:\cygwin\setup.exe
  4. When it asks for "Local Package Directory", type c:\cygwin
  5. When a selection screen comes up, you can resize the window to see better, click the little "View" button for "Full" view, then find and select the packages you wish to use.
  6. Click next to start installing cygwin.

How to setup and run MySQL in Cygwin

First, download and install MySQL Community Server (you need this for the command line tool, so make sure when your asked, to include this in the windows path).

Second, make sure that the path to MySQL (usually something like: /cygdrive/c/Program Files/MySQL/MySQL Server 5.0/bin) is in the $PATH of Cygwin.

That's it!

Try a command like the following now:

mysql --user=root --password=something -D nameOfDB -h serverName -e "SELECT * FROM A_TABLE"

© Erik Vold 2007-2013. Contact Erik Vold. Top ^