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 1 year has passed since last update.

MySQL初心者 備忘録

Posted at

●ERROR:三角連続

mysql> --
   >
   >

後ろに;をつける
mysql> --;
Query OK,

●ERROR:your password does not satisfy the current policy requirements sql(パスワードがポリシーを満たしてないです)

mysql> show global variables like '%validate%';

で以下のようなテーブルを確認

Variable_name Value
innodb_validate_tablespace_paths ON
validate_password.check_user_name ON
validate_password.dictionary_file
validate_password.length 8
validate_password.mixed_case_count 1
validate_password.number_count 0
validate_password.policy MEDIUM
validate_password.special_char_count 1

次にパスワードのポリシーを変更する
たとえば、うえの表では validate_password.length が 8となっているので8文字以上のパスワードでないと設定できない状態。

mysql> SET GLOBAL validate_password.length = 4;

などとすれば、4文字のパスワードを設定できる。

参考

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?