量産メモ帳

忘れっぽいのでメモを残しています。浅く適当に書きます。

Vista に MySQL をインストールしてみた。

スポンサーリンク

ダウンロード元:



ダウンロードしたファイル:

  • Windows (x86, 64-bit), MSI Installer (Essentials - Recommended)



インストール ウィザード:

  1. 【Welcome to the Setup Wizard for MySQL Server 5.1】「Next」
  2. 【Setup Type】「Custom」→「Next」
  3. 【Custom Setup】
    • 「Install to」を"C:\MySQL\MySQL Server 5.1\"に変更。
    • →「Next」
  4. 【Ready to Install the Program】「Next」
  5. 【Installing MySQL Server 5.1】次の画面に移るまで待つ。
  6. 【A MySQL Enterprise subscription is ...】「Next」
  7. 【The MySQL Enterprise Monitor Service】「Next」
  8. 【Wizard Completed】
    • 「Configure the MySQL Server now」にチェックを点ける。
    • →「Finish」



コンフィギュレーション ウィザード*1

  1. 【Welcome to the MySQL Server Instance Configuration Wizard 1.0.16.0】「Next」
  2. 【Please select a configuration type】「Detailed Configuration」→「Next」
  3. 【Please select a server type】「Developer Machine」→「Next」
  4. 【Please select the database usage】「Multifunctional Database」→「Next」
  5. 【Please select the drive for the InnoDB datafile】
    • ドライブは"C:"。
    • →パスは"Installation Path"。
    • →「Next」
  6. 【Please select the approximate number of concurrent connections to the server】「Decision Support (DSS)/OLAP」→「Next」
  7. 【Please set the networking option】
    • 「Enable TCP/IP Networking」にチェックを点ける
    • →「Port Number」は"3306"。
    • →「Add firewall exception for this port」にチェックを点ける。
    • →「Enable Strict Mode」にチェックを点ける。
    • →「Next」
  8. 【Please select the default character set】「Best Support For Multilingualism」→「Next」
  9. 【Please set the Windows Options】
    • 「Install As Windows Service」にチェックを点ける。
    • →「Service Name」は"MySQL"。
    • →「Launch the MySQL Server automatically」にチェックを点ける。
    • →「Include Bin Directory in Windows PATH」にチェックを点ける。
    • →「Next」
  10. 【Please set the security options】
    • 「Modify Security Settings」にチェックを点ける。
    • →「New root password」および「Confirm」にパスワードを入力。
    • →「Enable root access from remote machine」にはチェックを点けない。
    • →「Create An Anonymous Account」にもチェックを点けない
    • →「Next」
  11. 【Ready to execute ...】「Execute」→以下の4つの項目にチェックが点いたらコンフィギュレーション終了。
    • Prepare configuration
    • Write configuration file
    • Start service
    • Apply security settings


*1:何を選択するかはマシン環境毎に異なるはず。