MysSQLのインストール

MySQLをダウンロードします。
http://www-jp.mysql.com/

5.1のmsi形式の64bit版をダウンロードします。


インストーラを実行するといくつか選択する場面が出ますので以下のように選択します。


・SetupType
 Typical

・Wizard Completed画面
 Configure The MySQL Server now のみチェック

・Configuration Type
 Detailed Configuration

・server type
 Server Machine

・the approximate number of concurrent connections to the server
 Online Transaction Processing(OLTP)

・default character set
 Best Support for Multilingualism

・the Windows options
 Install As Windows Service と
 Include Bin Directory in Windows PATH

最後にrootユーザーのパスワードを設定して進めば完了。

完了後、再起動します。


MySQLの動作の確認をします。
コマンドプロンプト
mysql -u root -p
と入力後Enter。
パスワードを入力し、
mysql>
と表示されればOK。

exit 又は \q
と入力し、Enterで元のコマンドプロンプトに戻ります。