1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【環境構築】MySQLの導入方法

Last updated at Posted at 2025-02-13

ダウンロードからインストール

上記URLにアクセスしてダウンロードをクリック
image.png

画面下部の"MySQL Community (GPL) Downloads »"をクリック
image.png

"MySQL Community Server"をクリック
image.png

"Windows (x86, 64-bit), MSI Installer"の右側のダウンロードをクリック

image.png

"No thanks, just start my download."をクリック

image.png

ダウロードできたら完了

インストール

ダウンロードしてきたインストーラを起動して"Next"をクリック

image.png

規約への同意を求められるのでチェックを入れて"Next"をクリック
image.png

セットアップの種類を聞かれるので自分に適した種類を選択。今回はtypicialを選択して"Next"をクリック
image.png

"install"をクリックするとインストールが始まる。途中で変更の許可が必要になるので変更を許可する。
image.png

finishをクリックでインストールが完了。下のチェックボックスはインストール後にアプリを開くか確認するものなのでどちらでもよい
image.png

設定

インストール完了後スタートメニューから"MySQL 9.2 Configurator"を起動する
image.png

"Next"をクリック
image.png

任意の保存箇所を設定して"Next"をクリック
image.png

デフォルトの設定のまま"Next"をクリック。但しport番号等は後で使用する可能性があるためスクリーンショットを保存しておくことを推奨
image.png

任意のパスワードを設定して"Next"をクリック。ここで設定したパスワードがrootユーザのパスワードになる。
image.png

デフォルトの設定のまま"Next"をクリック。
image.png

デフォルトの設定のまま"Next"をクリック。
image.png

サンプルのDBを作成するか聞かれるので任意のチェックボックスにチェックをいれて"Next"をクリック。
image.png

"Execute"を押すと設定の反映が行われる
image.png

設定完了
image.png

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?