davidyeiser / docker-wordpress-theme-setup

Setup WordPress locally for theme development with Docker.
119 stars 54 forks source link

When running I get the following #4

Closed zardilior closed 3 years ago

zardilior commented 4 years ago

Seems like an error in the network

db_1         | 2020-02-27 18:53:32+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.29-1debian9 started.
wordpress_1  | [27-Feb-2020 18:53:18 UTC] PHP Warning:  mysqli::__construct(): (HY000/2002): Connection refused in Standard input code on line 22
wordpress_1  | 
wordpress_1  | MySQL Connection Error: (2002) Connection refused
wordpress_1  | [27-Feb-2020 18:53:21 UTC] PHP Warning:  mysqli::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in Standard input code on line 22
wordpress_1  | [27-Feb-2020 18:53:21 UTC] PHP Warning:  mysqli::__construct(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in Standard input code on line 22
wordpress_1  | 
wordpress_1  | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wordpress_1  | [27-Feb-2020 18:53:24 UTC] PHP Warning:  mysqli::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in Standard input code on line 22
wordpress_1  | [27-Feb-2020 18:53:24 UTC] PHP Warning:  mysqli::__construct(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in Standard input code on line 22
wordpress_1  | 
wordpress_1  | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wordpress_1  | [27-Feb-2020 18:53:27 UTC] PHP Warning:  mysqli::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in Standard input code on line 22
wordpress_1  | [27-Feb-2020 18:53:27 UTC] PHP Warning:  mysqli::__construct(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in Standard input code on line 22
wordpress_1  | 
wordpress_1  | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wordpress_1  | [27-Feb-2020 18:53:30 UTC] PHP Warning:  mysqli::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in Standard input code on line 22
wordpress_1  | [27-Feb-2020 18:53:30 UTC] PHP Warning:  mysqli::__construct(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in Standard input code on line 22
wordpress_1  | 
wordpress_1  | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
db_1         | 2020-02-27 18:53:32+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
db_1         | 2020-02-27 18:53:32+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.29-1debian9 started.
db_1         | 2020-02-27T18:53:32.857256Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
db_1         | 2020-02-27T18:53:32.858126Z 0 [Note] mysqld (mysqld 5.7.29) starting as process 1 ...
db_1         | 2020-02-27T18:53:32.860589Z 0 [Note] InnoDB: PUNCH HOLE support available
db_1         | 2020-02-27T18:53:32.860599Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1         | 2020-02-27T18:53:32.860601Z 0 [Note] InnoDB: Uses event mutexes
db_1         | 2020-02-27T18:53:32.860603Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
db_1         | 2020-02-27T18:53:32.860622Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db_1         | 2020-02-27T18:53:32.860624Z 0 [Note] InnoDB: Using Linux native AIO
db_1         | 2020-02-27T18:53:32.860859Z 0 [Note] InnoDB: Number of pools: 1
db_1         | 2020-02-27T18:53:32.860977Z 0 [Note] InnoDB: Using CPU crc32 instructions
db_1         | 2020-02-27T18:53:32.862006Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
db_1         | 2020-02-27T18:53:32.868358Z 0 [Note] InnoDB: Completed initialization of buffer pool
db_1         | 2020-02-27T18:53:32.869835Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1         | 2020-02-27T18:53:32.882380Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
db_1         | 2020-02-27T18:53:32.892844Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1         | 2020-02-27T18:53:32.892900Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1         | 2020-02-27T18:53:32.909159Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1         | 2020-02-27T18:53:32.909689Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
db_1         | 2020-02-27T18:53:32.909696Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
db_1         | 2020-02-27T18:53:32.909932Z 0 [Note] InnoDB: Waiting for purge to start
db_1         | 2020-02-27T18:53:32.960197Z 0 [Note] InnoDB: 5.7.29 started; log sequence number 13954659
db_1         | 2020-02-27T18:53:32.960394Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1         | 2020-02-27T18:53:32.960556Z 0 [Note] Plugin 'FEDERATED' is disabled.
db_1         | 2020-02-27T18:53:32.962294Z 0 [Note] InnoDB: Buffer pool(s) load completed at 200227 18:53:32
db_1         | 2020-02-27T18:53:32.965373Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
db_1         | 2020-02-27T18:53:32.965385Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
db_1         | 2020-02-27T18:53:32.966100Z 0 [Warning] CA certificate ca.pem is self signed.
db_1         | 2020-02-27T18:53:32.966129Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
db_1         | 2020-02-27T18:53:32.966483Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
db_1         | 2020-02-27T18:53:32.966511Z 0 [Note] IPv6 is available.
db_1         | 2020-02-27T18:53:32.966519Z 0 [Note]   - '::' resolves to '::';
db_1         | 2020-02-27T18:53:32.966529Z 0 [Note] Server socket created on IP: '::'.
db_1         | 2020-02-27T18:53:32.967489Z 0 [Warning] 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-02-27T18:53:32.975419Z 0 [Note] Event Scheduler: Loaded 0 events
db_1         | 2020-02-27T18:53:32.975646Z 0 [Note] mysqld: ready for connections.
db_1         | Version: '5.7.29'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
db_1         | 2020-02-27T18:53:33.739723Z 2 [Note] Access denied for user 'wordpress'@'172.21.0.3' (using password: YES)
wordpress_1  | [27-Feb-2020 18:53:33 UTC] PHP Warning:  mysqli::__construct(): (HY000/1045): Access denied for user 'wordpress'@'172.21.0.3' (using password: YES) in Standard input code on line 22
wordpress_1  | 
wordpress_1  | MySQL Connection Error: (1045) Access denied for user 'wordpress'@'172.21.0.3' (using password: YES)
db_1         | 2020-02-27T18:53:36.742454Z 3 [Note] Access denied for user 'wordpress'@'172.21.0.3' (using password: YES)
wordpress_1  | 
wordpress_1  | MySQL Connection Error: (1045) Access denied for user 'wordpress'@'172.21.0.3' (using password: YES)
db_1         | 2020-02-27T18:53:39.744843Z 4 [Note] Access denied for user 'wordpress'@'172.21.0.3' (using password: YES)
wordpress_1  | 
wordpress_1  | MySQL Connection Error: (1045) Access denied for user 'wordpress'@'172.21.0.3' (using password: YES)
db_1         | 2020-02-27T18:53:42.747915Z 5 [Note] Access denied for user 'wordpress'@'172.21.0.3' (using password: YES)
wordpress_1  | 
wordpress_1  | MySQL Connection Error: (1045) Access denied for user 'wordpress'@'172.21.0.3' (using password: YES)
db_1         | 2020-02-27T18:53:45.750870Z 6 [Note] Access denied for user 'wordpress'@'172.21.0.3' (using password: YES)
wordpress_1  | 
wordpress_1  | MySQL Connection Error: (1045) Access denied for user 'wordpress'@'172.21.0.3' (using password: YES)
wordpress_1  | 
wordpress_1  | WARNING: unable to establish a database connection to 'db:3306'
wordpress_1  |   continuing anyways (which might have unexpected results)
wordpress_1  | 
wordpress_1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.21.0.3. Set the 'ServerName' directive globally to suppress this message
wordpress_1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.21.0.3. Set the 'ServerName' directive globally to suppress this message
wordpress_1  | [Thu Feb 27 18:53:45.833182 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.25 (Debian) PHP/7.3.5 configured -- resuming normal operations
wordpress_1  | [Thu Feb 27 18:53:45.833215 2020] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND
davidyeiser commented 4 years ago

I’m not sure what’s going on there. You could always try restarting Docker, but I don’t expect that would help in this case. Maybe re-installing?

I don’t know much about MySQL admin so I'm probably not going to be the best help here.

davidyeiser commented 3 years ago

Closing this due to inactivity.