[wp-trac] [WordPress Trac] #58505: Using WORDPRESS_DB_HOST variable Cannot connect to the database, must be configu

WordPress Trac noreply at wordpress.org
Sat Jun 10 07:07:08 UTC 2023


#58505: Using WORDPRESS_DB_HOST variable Cannot connect to the database, must be
configu
--------------------------+-----------------------------
 Reporter:  chentc        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.2.2
 Severity:  major         |   Keywords:  needs-refresh
  Focuses:                |
--------------------------+-----------------------------
 I use kubernetes to run wordpress, and configure the WORDPRESS_DB_HOST
 variable, but it can not connect to the database, manually configure the
 database IP can be, mast have i to manually configure?
 I also tried using docker and 'WORDPRESS_DB_HOST' didn't work either.
 The image I used is wordpress:php8.2

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58505>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list