1 Minute Tech Tips

Support engineers with one-minute articles.

  • About
  • Profile
Close Button
Menu Button Search Button
Close Button
  1. ホーム
  2. tech
  3. mysql

mysql

ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

2019年11月29日

  • Facebook icon
  • Twitter icon
  • Hatena Bookmark icon
  • Pocket icon
  • Feedly icon
  • Line icon

はじめに

パスワードを更新を促されるメッセージ。パスワードポリシーに則った形で変更するパスワードを必要がある。

パスワード変更方法

set password for root@localhost=password('hogeHoge@Hog123');

結果以下の通りなれば成功

mysql> set password for root@localhost=password('hogeHoge@Hog123');
Query OK, 0 rows affected, 1 warning (0.05 sec)

参考情報

https://qiita.com/RyochanUedasan/items/9a49309019475536d22a

 

  • Facebook icon
  • Twitter icon
  • Hatena Bookmark icon
  • Pocket icon
  • Feedly icon
  • Line icon

関連記事

  • M1 mac で Dockerを使ってMySQL 5.7を外部から接続できるように設定する

  • no image

    mysql のコンテナをすぐに使う

  • ERROR 1064 (42000) at line 101: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1

  • SQL: Null値の扱い方 – COALESCE関数を使った実践的なガイド

  • コンテナ内の mysql にリクエストされたクエリを確認する

  • mysql 5.7で実行された全クエリをログに出力する

  • mysql で ストアドプロシージャ を登録・変更・削除する

  • redash パラメータを動的に変えてクエリを実行する

2019年11月
月 火 水 木 金 土 日
 123
45678910
11121314151617
18192021222324
252627282930  
« 9月   12月 »

Profile

Certifications

As a testament to my expertise and commitment to lifelong learning, here are some of the professional certifications I have earned:

最近の投稿

  • AWS X-Ray と X-Amzn-Trace-Id の深掘り
  • Autifyでの高度な待機処理: 非活性ボタンを活性化するまで
  • AWS SAM CLIでDockerがUnreachableな場合の解決
  • ターミナルを開いたら自動でtmuxを起動させる
  • jqを使ったJSONデータの柔軟な操作: ユーザーの属性値の動的変更

カテゴリー

  • autify (1)
  • azure (3)
  • Book review (21)
  • laravel (16)
  • run (1)
  • tech (368)
    • aws (121)
      • AWS Certified Security – Specialty (7)
      • AWS Certified Solutions Architect – Associate (24)
      • AWS Certified Solutions Architect – Professional (28)
    • docker (29)
    • GCP (21)
    • go (15)
    • kusanagi(wordpress) (7)
    • linux (62)
    • Mac (12)
    • mysql (9)
    • python (18)
    • redash (17)
    • SQL (2)
    • terraform (1)
    • Vue.js (5)
    • 機械学習 (7)
  • _ (1)
  • 振り返り (2)
  • 未分類 (2)
  • About
  • Profile
© 2023 1 Minute Tech Tips

Made by Godios. Theme