# Edit Access

แก้ไขสิทธิ์การเข้าถึง Database Schema ของ Database User โดย Database User ที่ใช้ Username เดียวกัน แต่กำหนด Allowed Host ต่างกัน จะต้องจัดการสิทธิ์การเข้าถึง Database Schema แยกจากกัน

## Instructions

### 1. เข้าสู่หน้า Database Instances&#x20;

เลือกรายการ “Database Instances” ที่ Sidebar จากเมนู SQL Database

<figure><img src="/files/7nDOpjr5xio2iWoY9z08" alt=""><figcaption><p>เข้าสู่หน้า Database Instances</p></figcaption></figure>

### 2. เข้า tab Access Management&#x20;

เข้าไปที่หน้า Database Instance Detail ของ Database Instance ที่ต้องการทำคำสั่ง แล้วกดที่ tab Access Management ระบบจะแสดงรายการ Database User

<figure><img src="/files/zPGl5kVUh8f6CWsTzqv4" alt=""><figcaption><p>เข้า tab Access Management</p></figcaption></figure>

### 3. เลือกคำสั่ง Edit Access&#x20;

เลือกคำสั่ง Edit Access ได้จากภายใต้ปุ่ม “MORE” ของ Database User ที่ต้องการทำคำสั่ง

<figure><img src="/files/IXK5HT3sWuyA6wRqYbFq" alt=""><figcaption><p>เลือกคำสั่ง Edit Access</p></figcaption></figure>

### 4. แก้ไข Database Schema ที่เข้าถึงได้ตามต้องการ&#x20;

หลังเลือกคำสั่ง Edit Access ระบบจะแสดงหน้าต่างเพื่อให้แก้ไขสิทธิ์การเข้าถึง Database Schema ของ Database User หลังจากนั้นกดปุ่ม “EDIT” เพื่อทำการ Edit Access

<figure><img src="/files/6JuHtl362sTCqZ8ObWVd" alt=""><figcaption><p>แก้ไข Database Schema ที่เข้าถึงได้ตามต้องการ</p></figcaption></figure>

### 5. Database Schema ที่เข้าถึงได้จะเปลี่ยนแปลงไป&#x20;

หลังจากทำคำสั่งสำเร็จ ระบบจะทำการ Edit Access ของ Database User หลังจากนั้นหากการแก้ไขถูกต้อง แสดงว่าคำสั่งสำเร็จ

<figure><img src="/files/Hf8pqonmW8lCJSyhNrdz" alt=""><figcaption><p>หลัง Edit Access สำเร็จ</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-epc.gitbook.io/ncs-documents/database-as-a-service/sql-database/manage-sql-database-user/edit-access.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
