How to delete or remove MySQL user

27 เม.ย. 2021 , 2,094 Views   , หมวดหมู่ MySQL   ,


  1. Step 1 – Login root
  2. Step 2 – List all mysql users
  3. Step 3 – List grants for a mysql user
  4. Step 4 – Revoke all grants for a mysql user
  5. Step 5 – Remove/Delete the user from the user table

A note about DROP USER sql command to delete or remove a MySQL/MariaDB user account

ที่มา : https://www.cyberciti.biz/faq/how-to-delete-remove-user-account-in-mysql-mariadb/