0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

MYSQL ユーザー追加、削除

0
Posted at

接続

$ mysql -u root -p

現在のユーザーを確認する

mysql> SELECT user, host FROM mysql.user ORDER BY user, host;

ユーザーを作成

CREATE USER '<username>'@'localhost';

パスワードを設定

set password for <username>@localhost='ここにパスワード';

ユーザー削除

mysql> drop user 'ユーザー'@'localhost';
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?