Giter VIP home page Giter VIP logo

microsoft--sql-server--odbc-driver-1.0-for-linux-fixed-install-scripts's Introduction

Microsoft SQL Server ODBC Driver 1.0 for Linux Fixed Install Scripts

I named this repository in hopes that SEO would help it out a bit. One of my most popular posts on my blog is a how to detailing the steps needed for installing the Microsoft SQL Server ODBC Driver for linux on Ubuntu. Why is an install tutorial/how-to necessary? Because Microsoft released some half-baked install scripts.

The shell scripts they include contain the Microsoft Copyright, so I'm not sure of the license - which is why I didn't choose one for this repository - I just want the changes I made to be available to those that need them.

If you're seeing this Microsoft - please feel free to use any of this in your own distributions. It's painful to see half-baked install scripts when so little work is necessary to support so much more of your audience.

These are just some adjusted scripts to work on Debian/Ubuntu servers. These are tested working on Ubuntu 12.04 and 14.04 LTS - and they're supposed to work out of the box on Red Hat Enterprise Linux 6 though I do not have access to an actual Red Hat Enterprise Linux 6 system so I've not 100% tested their stated functionality. Running on dash the hashbang needed to change to bash in order to support the array syntax used.

install_dm.sh is adjusted to pull unixODBC version 2.3.2 from the web. Once the driver is installed, don't forget to enable Multiple Active Result-sets (MARS) in your ODBC connection as that's a great feature that this driver provides. MARS_Connection = Yes

##Usage

###unixODBC Driver Manager Install - build_dm.sh

$ sudo ./build_dm.sh --libdir=/usr/lib/x86_64-linux-gnu

You can also pass a path to where you've placed a gzipped tarball of unixODBC (including newer versions) using the --download-url parameter:

$ sudo ./build_dm.sh --download-url=file:///home/MYUSER/unixODBC-2.3.2.tar.gz --libdir=/usr/lib/x86_64-linux-gnu

###SQL Server ODBC Driver Installer - install.sh

For the driver installer - install.sh - install, verify, --force, --force-debian, --force-redhat, and --help are available parameters:

$ sudo ./install.sh install

If you are using a Debian based/compatible distribution that is not detected properly (the current list is Debian, Ubuntu, and LinuxMint), you may want to use the --force-debian install flag like this:

$ sudo ./install.sh install --force-debian

You can use verify to check the status of an existing installation:

$ sudo ./install.sh verify

microsoft--sql-server--odbc-driver-1.0-for-linux-fixed-install-scripts's People

Contributors

andrewpk avatar educarneiro avatar gesquive avatar mitchcapper avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.