LoginSignup
1
1

More than 5 years have passed since last update.

MySQL で root のパスワードを root に

Posted at

細かいことは上記に詳しく書いてくれています。コマンドだけ

# grep "temporary password" /var/log/mysqld.log
# mysql -uroot -p
> set password for root@localhost=password('passwordPASSWORD@999');
> SET GLOBAL validate_password_length=4;
> SET GLOBAL validate_password_policy=LOW;
> set password for root@localhost=password('root');
1
1
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
1
1