Swooow / checkERR

0 stars 0 forks source link

Контейнер перезагружается #1

Open Swooow opened 3 months ago

Swooow commented 3 months ago

Контейнер постоянно перезагружается. Приложение не запускается

Шаги воспроизведения

  1. Открыть IDEA с имеющимся проектом.
  2. Открыть Docker Desktop.
  3. Поднять контейнеры через консоль в IDEA командой docker-compose up -d.

Ожидаемый результат: Контейнер запущен. Можно открыть рабочий localhost:8080. Фактический результат: Контейнер постоянно перезапускается. Сайт localhost не позволяет установить соединение.

Скрины и логи

Подняли контейнер image

Контейнер отображается в Docker Desktop image

Контейнер падает и уходит на перезагрузку image

Логи Docker Desktop:

2024-07-10 23:47:19 db-1  | 2024-07-10 20:47:19+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:47:20 db-1  | 2024-07-10 20:47:20+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-10 23:47:20 db-1  | 2024-07-10 20:47:20+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:47:20 db-1  | 2024-07-10 20:47:20+00:00 [Note] [Entrypoint]: Initializing database files
2024-07-10 23:47:20 db-1  | 2024-07-10T20:47:20.770694Z 0 [System] [MY-015017] [Server] MySQL Server Initialization - start.
2024-07-10 23:47:20 db-1  | 2024-07-10T20:47:20.775556Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 9.0.0) initializing of server in progress as process 81
2024-07-10 23:47:20 db-1  | 2024-07-10T20:47:20.796470Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-10 23:47:21 db-1  | 2024-07-10T20:47:21.556561Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-10 23:47:26 db-1  | 2024-07-10T20:47:26.582817Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
2024-07-10 23:47:26 db-1  | 2024-07-10T20:47:26.583742Z 0 [ERROR] [MY-013236] [Server] The designated data directory /var/lib/mysql/ is unusable. You can remove all files that the server added to it.
2024-07-10 23:47:26 db-1  | 2024-07-10T20:47:26.583786Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-10 23:47:28 db-1  | 2024-07-10T20:47:28.849337Z 0 [System] [MY-015018] [Server] MySQL Server Initialization - end.
2024-07-10 23:47:30 db-1  | 2024-07-10 20:47:30+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:47:31 db-1  | 2024-07-10 20:47:31+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-10 23:47:31 db-1  | 2024-07-10 20:47:31+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:47:32 db-1  | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-10 23:47:32 db-1  | 2024-07-10T20:47:32.337421Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-10 23:47:32 db-1  | 2024-07-10T20:47:32.885195Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-10 23:47:32 db-1  | 2024-07-10T20:47:32.915544Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-10 23:47:33 db-1  | 2024-07-10T20:47:33.822190Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-10 23:47:34 db-1  | mysqld: Table 'mysql.plugin' doesn't exist
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.145736Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.146226Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.146554Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.146909Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.147371Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.147653Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.147985Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.148273Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.263864Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.345261Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.357422Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.357510Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.372322Z 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.
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.373189Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.373894Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.373957Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.374233Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
2024-07-10 23:47:34 db-1  | 2024-07-10T20:47:34.375493Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-10 23:47:35 db-1  | 2024-07-10T20:47:35.858873Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-10 23:47:35 db-1  | 2024-07-10T20:47:35.858948Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-07-10 23:47:37 db-1  | 2024-07-10 20:47:37+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:47:38 db-1  | 2024-07-10 20:47:38+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-10 23:47:38 db-1  | 2024-07-10 20:47:38+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:47:38 db-1  | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-10 23:47:39 db-1  | 2024-07-10T20:47:38.916468Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-10 23:47:39 db-1  | 2024-07-10T20:47:39.218446Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-10 23:47:39 db-1  | 2024-07-10T20:47:39.229884Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-10 23:47:41 db-1  | 2024-07-10T20:47:41.532550Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-10 23:47:41 db-1  | mysqld: Table 'mysql.plugin' doesn't exist
2024-07-10 23:47:41 db-1  | 2024-07-10T20:47:41.972789Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-10 23:47:41 db-1  | 2024-07-10T20:47:41.973221Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:41 db-1  | 2024-07-10T20:47:41.973617Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:41 db-1  | 2024-07-10T20:47:41.973990Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:41 db-1  | 2024-07-10T20:47:41.974456Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:41 db-1  | 2024-07-10T20:47:41.974806Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:41 db-1  | 2024-07-10T20:47:41.975120Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:41 db-1  | 2024-07-10T20:47:41.975430Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:42 db-1  | 2024-07-10T20:47:42.275314Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:47:42 db-1  | 2024-07-10T20:47:42.358747Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:47:42 db-1  | 2024-07-10T20:47:42.371513Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-10 23:47:42 db-1  | 2024-07-10T20:47:42.371592Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-10 23:47:42 db-1  | 2024-07-10T20:47:42.384504Z 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.
2024-07-10 23:47:42 db-1  | 2024-07-10T20:47:42.386960Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:42 db-1  | 2024-07-10T20:47:42.388793Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-10 23:47:42 db-1  | 2024-07-10T20:47:42.388896Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-10 23:47:42 db-1  | 2024-07-10T20:47:42.389370Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
2024-07-10 23:47:42 db-1  | 2024-07-10T20:47:42.390735Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-10 23:47:43 db-1  | 2024-07-10T20:47:43.974680Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-10 23:47:43 db-1  | 2024-07-10T20:47:43.974785Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-07-10 23:47:45 db-1  | 2024-07-10 20:47:45+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:47:45 db-1  | 2024-07-10 20:47:45+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-10 23:47:45 db-1  | 2024-07-10 20:47:45+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:47:46 db-1  | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-10 23:47:47 db-1  | 2024-07-10T20:47:46.584238Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-10 23:47:47 db-1  | 2024-07-10T20:47:47.657113Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-10 23:47:47 db-1  | 2024-07-10T20:47:47.670230Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-10 23:47:48 db-1  | 2024-07-10T20:47:48.524816Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-10 23:47:48 db-1  | mysqld: Table 'mysql.plugin' doesn't exist
2024-07-10 23:47:48 db-1  | 2024-07-10T20:47:48.953859Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-10 23:47:48 db-1  | 2024-07-10T20:47:48.954309Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:48 db-1  | 2024-07-10T20:47:48.954639Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:48 db-1  | 2024-07-10T20:47:48.955007Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:48 db-1  | 2024-07-10T20:47:48.955434Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:48 db-1  | 2024-07-10T20:47:48.955700Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:48 db-1  | 2024-07-10T20:47:48.955994Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:48 db-1  | 2024-07-10T20:47:48.956257Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:49 db-1  | 2024-07-10T20:47:49.030748Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:47:49 db-1  | 2024-07-10T20:47:49.159352Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:47:49 db-1  | 2024-07-10T20:47:49.178137Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-10 23:47:49 db-1  | 2024-07-10T20:47:49.178650Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-10 23:47:49 db-1  | 2024-07-10T20:47:49.193478Z 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.
2024-07-10 23:47:49 db-1  | 2024-07-10T20:47:49.194877Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:49 db-1  | 2024-07-10T20:47:49.195393Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-10 23:47:49 db-1  | 2024-07-10T20:47:49.195472Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-10 23:47:49 db-1  | 2024-07-10T20:47:49.195754Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
2024-07-10 23:47:49 db-1  | 2024-07-10T20:47:49.197636Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-10 23:47:51 db-1  | 2024-07-10T20:47:51.313591Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-10 23:47:51 db-1  | 2024-07-10T20:47:51.313652Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-07-10 23:47:52 db-1  | 2024-07-10 20:47:52+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:47:53 db-1  | 2024-07-10 20:47:53+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-10 23:47:53 db-1  | 2024-07-10 20:47:53+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:47:53 db-1  | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-10 23:47:54 db-1  | 2024-07-10T20:47:53.829995Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-10 23:47:54 db-1  | 2024-07-10T20:47:54.112895Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-10 23:47:54 db-1  | 2024-07-10T20:47:54.126140Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-10 23:47:54 db-1  | 2024-07-10T20:47:54.940456Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-10 23:47:55 db-1  | mysqld: Table 'mysql.plugin' doesn't exist
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.482389Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.483042Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.483600Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.484169Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.484910Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.485749Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.486427Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.487043Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.551645Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.639945Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.654290Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.654369Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.664864Z 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.
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.665879Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.666283Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.666347Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.666585Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
2024-07-10 23:47:55 db-1  | 2024-07-10T20:47:55.667966Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-10 23:47:57 db-1  | 2024-07-10T20:47:57.262634Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-10 23:47:57 db-1  | 2024-07-10T20:47:57.262697Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-07-10 23:48:00 db-1  | 2024-07-10 20:48:00+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:48:00 db-1  | 2024-07-10 20:48:00+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-10 23:48:01 db-1  | 2024-07-10 20:48:01+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:48:01 db-1  | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-10 23:48:02 db-1  | 2024-07-10T20:48:01.574725Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-10 23:48:02 db-1  | 2024-07-10T20:48:02.043713Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-10 23:48:02 db-1  | 2024-07-10T20:48:02.056093Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-10 23:48:02 db-1  | 2024-07-10T20:48:02.973427Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-10 23:48:03 db-1  | mysqld: Table 'mysql.plugin' doesn't exist
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.351250Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.351839Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.352314Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.352802Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.353428Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.353878Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.354320Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.354768Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.667669Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.830245Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.850097Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.850190Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.862959Z 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.
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.865274Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.866722Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.866793Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.867056Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
2024-07-10 23:48:03 db-1  | 2024-07-10T20:48:03.868358Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-10 23:48:05 db-1  | 2024-07-10T20:48:05.492490Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-10 23:48:05 db-1  | 2024-07-10T20:48:05.492615Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-07-10 23:48:09 db-1  | 2024-07-10 20:48:09+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:48:10 db-1  | 2024-07-10 20:48:10+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-10 23:48:10 db-1  | 2024-07-10 20:48:10+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:48:10 db-1  | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-10 23:48:10 db-1  | 2024-07-10T20:48:10.558467Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-10 23:48:10 db-1  | 2024-07-10T20:48:10.940505Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-10 23:48:10 db-1  | 2024-07-10T20:48:10.950728Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-10 23:48:11 db-1  | 2024-07-10T20:48:11.550213Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-10 23:48:11 db-1  | mysqld: Table 'mysql.plugin' doesn't exist
2024-07-10 23:48:11 db-1  | 2024-07-10T20:48:11.860796Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-10 23:48:11 db-1  | 2024-07-10T20:48:11.861288Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:11 db-1  | 2024-07-10T20:48:11.861650Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:11 db-1  | 2024-07-10T20:48:11.861993Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:11 db-1  | 2024-07-10T20:48:11.862453Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:11 db-1  | 2024-07-10T20:48:11.862744Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:11 db-1  | 2024-07-10T20:48:11.863055Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:11 db-1  | 2024-07-10T20:48:11.863299Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:12 db-1  | 2024-07-10T20:48:12.053617Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:48:12 db-1  | 2024-07-10T20:48:12.144857Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:48:12 db-1  | 2024-07-10T20:48:12.160658Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-10 23:48:12 db-1  | 2024-07-10T20:48:12.160737Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-10 23:48:12 db-1  | 2024-07-10T20:48:12.172919Z 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.
2024-07-10 23:48:12 db-1  | 2024-07-10T20:48:12.174065Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:12 db-1  | 2024-07-10T20:48:12.174491Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-10 23:48:12 db-1  | 2024-07-10T20:48:12.174553Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-10 23:48:12 db-1  | 2024-07-10T20:48:12.174796Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
2024-07-10 23:48:12 db-1  | 2024-07-10T20:48:12.176287Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-10 23:48:13 db-1  | 2024-07-10T20:48:13.769466Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-10 23:48:13 db-1  | 2024-07-10T20:48:13.769526Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-07-10 23:48:21 db-1  | 2024-07-10 20:48:21+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:48:21 db-1  | 2024-07-10 20:48:21+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-10 23:48:21 db-1  | 2024-07-10 20:48:21+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:48:22 db-1  | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-10 23:48:22 db-1  | 2024-07-10T20:48:22.464833Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-10 23:48:22 db-1  | 2024-07-10T20:48:22.960573Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-10 23:48:22 db-1  | 2024-07-10T20:48:22.974292Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-10 23:48:23 db-1  | 2024-07-10T20:48:23.748213Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-10 23:48:24 db-1  | mysqld: Table 'mysql.plugin' doesn't exist
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.027970Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.028448Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.036385Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.036916Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.037413Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.037743Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.038046Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.038354Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.250659Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.354923Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.374184Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.374362Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.386648Z 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.
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.387220Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.387585Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.387651Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.387933Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
2024-07-10 23:48:24 db-1  | 2024-07-10T20:48:24.389573Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-10 23:48:25 db-1  | 2024-07-10T20:48:25.973453Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-10 23:48:25 db-1  | 2024-07-10T20:48:25.973510Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-07-10 23:48:39 db-1  | 2024-07-10 20:48:39+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:48:40 db-1  | 2024-07-10 20:48:40+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-10 23:48:40 db-1  | 2024-07-10 20:48:40+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:48:40 db-1  | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-10 23:48:41 db-1  | 2024-07-10T20:48:40.611327Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-10 23:48:41 db-1  | 2024-07-10T20:48:41.151111Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-10 23:48:41 db-1  | 2024-07-10T20:48:41.161976Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-10 23:48:41 db-1  | 2024-07-10T20:48:41.861519Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-10 23:48:42 db-1  | mysqld: Table 'mysql.plugin' doesn't exist
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.241969Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.242578Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.242997Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.243449Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.244095Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.244461Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.244901Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.245345Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.415897Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.507127Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.525373Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.525489Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.545574Z 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.
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.552181Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.558059Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.558159Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.560022Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
2024-07-10 23:48:42 db-1  | 2024-07-10T20:48:42.561895Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-10 23:48:44 db-1  | 2024-07-10T20:48:44.200669Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-10 23:48:44 db-1  | 2024-07-10T20:48:44.200736Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2024-07-10 23:49:10 db-1  | 2024-07-10 20:49:10+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:49:11 db-1  | 2024-07-10 20:49:11+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-10 23:49:11 db-1  | 2024-07-10 20:49:11+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-10 23:49:11 db-1  | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-10 23:49:12 db-1  | 2024-07-10T20:49:12.007735Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-10 23:49:12 db-1  | 2024-07-10T20:49:12.475951Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-10 23:49:12 db-1  | 2024-07-10T20:49:12.502943Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-10 23:49:14 db-1  | 2024-07-10T20:49:14.499909Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-10 23:49:15 db-1  | mysqld: Table 'mysql.plugin' doesn't exist
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.218929Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.233117Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.234700Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.236315Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.239026Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.240409Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.241586Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.242304Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.330069Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.434864Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.488730Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.489038Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.817323Z 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.
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.820119Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.822076Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.822379Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.832755Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
2024-07-10 23:49:15 db-1  | 2024-07-10T20:49:15.849719Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-10 23:49:17 db-1  | 2024-07-10T20:49:17.099492Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-10 23:49:17 db-1  | 2024-07-10T20:49:17.099575Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2036-01-01 00:00:00 
2001-01-01 00:00:00 xited with code 1

Окружение

ArRomanov commented 3 months ago

Ошибка: 2024-07-10 23:49:15 db-1 | 2024-07-10T20:49:15.832755Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.

у вас странная конфигурация тут - https://github.com/Swooow/checkERR/blob/main/docker-compose.yml#L7. Используйте пример конфигурации, который используется в примерах кода - https://github.com/netology-code/aqa-code/blob/master/docker/docker-compose.yml. Параметр volumes можно удалить, он нам не нужен

Swooow commented 3 months ago

Приложение запущено, но запрос не уходит - 500 код:

image

Хотя контейнеры подняты и функционируют:

image

Сервисы credit и payment подключены:

image

Настройки app:

image

Настройки docker-compose:

image

В базу данных тоже ничего не падает:

image

ArRomanov commented 3 months ago

Судя по всему, приложение не видит gate-simulator, так как вы не скопировали файл application.properties в контейнер. Вместо этого вы в конфигурации docker-compose.yml прописали переменные окружения для адреса БД, логина и пароля. Аналогично с этим нужно добавить еще две переменные из application.properties - две первые из списка (придварительно проверьте, что сервис gate-simulator отвечает по этим адресам)