> For the complete documentation index, see [llms.txt](https://docs-epc.gitbook.io/ncs-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-epc.gitbook.io/ncs-documents/database-as-a-service/sql-database/manage-sql-database-user/edit-access.md).

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