質問編集履歴
1
エラー文を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,29 @@
|
|
1
1
|
Rustのsqlx+mysql+axumで簡単なTodoの表示と追加のみを行うミニサーバーをDocker上で動かしたいのですが、うまくいきません。
|
2
2
|
開発環境ではDBのみをDockerで動かしていましたが、問題なく動作しました。しかし、実行環境でapp+DBを動作させると、MySQLのログに次のように表示されてしまいます。どのように修正すればよいのか分からない状態です。助けていただけませんか?
|
3
3
|
現在の状況は以下の通りです。
|
4
|
+
|
5
|
+
ログ
|
6
|
+
```
|
7
|
+
✔ Container minimini_server-db-1 Recreated 7.2s
|
8
|
+
✔ Container minimini_server-app-1 Recreated 2.7s
|
9
|
+
Attaching to app-1, db-1
|
10
|
+
db-1 | 2024-07-29 14:42:38+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.39-1.el9 started.
|
11
|
+
db-1 | 2024-07-29 14:42:38+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
|
12
|
+
db-1 | 2024-07-29 14:42:38+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.39-1.el9 started.
|
13
|
+
db-1 | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
|
14
|
+
db-1 | 2024-07-29T14:42:39.076574Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
|
15
|
+
db-1 | 2024-07-29T14:42:39.079308Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.39) starting as process 1
|
16
|
+
db-1 | 2024-07-29T14:42:39.104690Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
|
17
|
+
app-1 | minimini_server: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
|
18
|
+
app-1 exited with code 127
|
19
|
+
db-1 | 2024-07-29T14:42:47.060449Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
|
20
|
+
db-1 | 2024-07-29T14:42:51.337683Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
|
21
|
+
db-1 | 2024-07-29T14:42:51.337764Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
|
22
|
+
db-1 | 2024-07-29T14:42:51.420835Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
|
23
|
+
db-1 | 2024-07-29T14:42:51.445847Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
|
24
|
+
db-1 | 2024-07-29T14:42:51.446114Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.39' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
|
25
|
+
Gracefully stopping... (press Ctrl+C again to force)
|
26
|
+
```
|
4
27
|
|
5
28
|
構成
|
6
29
|

|