> For the complete documentation index, see [llms.txt](https://docs.portaldots.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portaldots.com/4.x/setup/install/coreserver/database.md).

# ステップ2. データベースを作成する

PortalDots上に保存するデータ（ユーザー情報や参加企画情報など）は、データベース上に保存されます。PortalDotsのインストール前に、あらかじめデータベースを作成しておきます。

1. コアサーバーのコントロールパネルにログインします
   * 申込み時に届くメールに掲載されている「アカウント名」「パスワード」「サーバー」でログインできます。
2. 画面左のメニューから「データベース」をクリックします
3. 「新しいデータベースを作成」ボタンをクリックします
4. 「データベース名」と「データベースパスワード」は任意のものを設定します。「データベース名」と「データベースユーザ」は同じもので構いません。ここで入力した「**データベース名**」と「**データベースユーザ**」、「**データベースパスワード**」は、PortalDots をインストールする際に必要です。
5. 「データベースを作成」ボタンをクリックします。
6. 「DATABASE CREATED」という画面が表示されます。この画面内に表示されている「**Database**」、「**Host**」、「**Username**」、「**Password**」を確認、メモしてください。これらの情報は、PortalDots をインストールする際に必要です。

{% hint style="warning" %}
「データベースパスワード」は、他の用途で利用していないパスワードを設定してください。このパスワードが漏洩すると、PortalDotsに保存されたユーザー情報が全て漏洩します。必ずランダムな文字列をパスワードとして設定してください。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.portaldots.com/4.x/setup/install/coreserver/database.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
