Docker MySQL メモ

2021/05/09

公式イメージ

公式イメージ使用

Docker Compose

Docker Compose から MySQL 接続

Dockerコンテナ 起動時に実行

MySQL設定

パスワード変更

mysql_secure_installation

rootパスワード

[MySQL][ERROR] Fatal error: Please read “Security” section of the manual to find out how to run mysqld as root!

[Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.

[ERROR] [MY-011011] [Server] Failed to find valid data directory.

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

mysql.sock がない


Written by Circle
A mound built by the accumulation of hyperlinks are like Kowloon.