2017年11月1日水曜日

raspberry (MariaDB不具合)

◻️rootでパスなしで入れてしまうので、以下の対策を実施

==============================================================================
use mysql;
delete from user where User='root';

flush privileges;
grant all privileges on *.* to 'root'@'localhost' identified by '任意のパスワード' with grant option;
grant all privileges on *.* to 'root'@'127.0.0.1' identified by '任意のパスワード' with grant option;
grant all privileges on *.* to 'root'@'::1' identified by '任意のパスワード' with grant option;
grant all privileges on *.* to 'root'@'ホスト名' identified by '任意のパスワード' with grant option;
update user set Create_tablespace_priv="N" WHERE User='debian-sys-maint' ;
flush privileges;
==============================================================================

<参照先>
https://jyn.jp/ubuntu-16-04-mariadb-password-bug/

0 件のコメント:

コメントを投稿

【AI×GitOps】Docker Composeから始めるRaspberry Pi 5 Kubernetesクラスタへの自動デプロイ設計

現在構築を進めている動画管理システム開発において、いきなりKubernetes(K8s)に展開するのではなく、 Docker Composeを中間地点に挟んで段階的にK8s+Argo CD(GitOps)へ移行するアーキテクチャ設計 をまとめました。 Bionic(AIアシスタン...