a docker setup + wordpress = random database errors. is that normal??

databasemysqlwordpress2 replies · 222 views · started
  1. my site on a Docker setup keeps randomly falling over with this:

    There has been a critical error on this website.

    There has been a critical error on this website.
    Learn more about troubleshooting WordPress.
    

    A restart of the server or waiting a while fixes it, then it comes back a few days later. it got noticeably worse after a sudden traffic spike. I'd like to understand whether the database server is dying or WordPress can't reach it for some other reason. I'd love to undertsand the cause instead of just rebooting forever. what am i doing wrong??

    27
  2. wait what value do you have for DB_HOST, and what does your hosts panel say it should be? ?

    0 2 helpful

Reply to this topic

Sign in or create an account to reply.