LoginSignup
4
4

More than 5 years have passed since last update.

MacOSXからSQL Serverに接続

Last updated at Posted at 2014-08-19

MaxOSXからSQL Serverに接続します。

流れ

・php5-sybase、freetds-commonインストール
・上記インストールのためにfinkインストール
・finkインストールのためにXcode,Command Line Toolインストール

0.Xcode,Command Line Toolインストール

割愛

1.finkインストール

1-1.ダウンロード
http://www.finkproject.org/download/srcdist.php?phpLang=en

1-2.コマンド実行
解凍 (xxはバージョンにより異なる)
$ tar -xvf fink-xx.tar.gz
移動
$ cd fink-xx
インストール
オプションの選択が多数あるが、全てデフォルトのままでOK
(エンターキーを押せばデフォルトが選ばれます)
$ ./bootstrap
Path設定
$ /sw/bin/pathsetup.sh
アップデート
$ fink selfupdate
$ fink index -f
$ fink selfupdate-rsync

2.php5-sybase、freetds-commonインストール

2-1.コマンド実行
$ sudo apt-get install php5-sybase freetds-common freetds

2-2.接続

あとの操作は
http://qiita.com/arachan@github/items/026091e69e1aba7b0918
の「設定方法」から下を参照

元ネタ

http://d.hatena.ne.jp/haronoid/20130503/1367581401
http://qiita.com/arachan@github/items/026091e69e1aba7b0918

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4