新增使用者
mysql> CREATE USER 'user_name'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password';
移除使用者
mysql> DROP USER 'user_name'@'localhost'閱讀全文 MySQL 筆記
mysql> CREATE USER 'user_name'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password';
mysql> DROP USER 'user_name'@'localhost'閱讀全文 MySQL 筆記