gengogo5 / general_crawler

汎用クローラのプロトタイプ
0 stars 0 forks source link

MySQLの警告除去 #5

Open gengogo5 opened 4 years ago

gengogo5 commented 4 years ago

docker-compose起動時に警告が出る

Creating network "general_crawler_default" with the default driver
Creating general_crawler_db_1 ... done
Creating crawler              ... done
Attaching to general_crawler_db_1, crawler
db_1      | 2020-05-22 18:46:51+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.20-1debian10 started.
db_1      | 2020-05-22 18:46:55+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
db_1      | 2020-05-22 18:46:55+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.20-1debian10 started.
crawler   | Python 3.8.3 (default, May 20 2020, 20:46:20) 
crawler   | [GCC 9.2.0] on linux
crawler   | Type "help", "copyright", "credits" or "license" for more information.
db_1      | 2020-05-22T18:46:57.213019Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
db_1      | 2020-05-22T18:46:57.215563Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.20) starting as process 1
db_1      | 2020-05-22T18:46:57.361968Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
db_1      | 2020-05-22T18:46:59.625392Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
db_1      | 2020-05-22T18:47:00.065834Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: '/var/run/mysqld/mysqlx.sock' bind-address: '::' port: 33060
db_1      | 2020-05-22T18:47:00.339034Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
db_1      | 2020-05-22T18:47:00.374208Z 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.
db_1      | 2020-05-22T18:47:00.588036Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.20'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
db_1      | 2020-05-22T18:47:44.828777Z 8 [Warning] [MY-010055] [Server] IP address '172.28.0.1' could not be resolved: Name or service not known