A LOCAL XAMPP INSTALL + WORDPRESS = RANDOM DATABASE ERRORS. IS THAT NORMAL?

Solveddatabasemysqlwordpress3 replies · 334 views · started

Accepted solution

by Tess ReidJump to the reply

lol same thing happened to me if it happens randomly on a small VPS, check whether MySQL or MariaDB is being killed: systemctl status mariadb (or mysql) and dmesg -T | grep -i 'killed process'. Low memory under traffic gets the database kileld first. Add swap and lower innodb_buffer_pool_size or move to a bigger plan. lmk how it goes

  1. ok weird one every page on my site now shows a single line of text:

    There has been a critical error on this website.

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

    error establishing a database connection. this started after migrating to a new host... my biggest fear is that years of posts are gone... im on a local XAMPP install. I can get into the file manager and phpMyAdmin, I just dont know what to look for... can someone help me figure out whether my data is safe? pls tell me where to look first, Im trying not to panic. thx in advance!!

    6
  2. ok but is the database service actually running when teh error appears? ?

    0 1 helpful
  3. Accepted solution

    lol same thing happened to me if it happens randomly on a small VPS, check whether MySQL or MariaDB is being killed: systemctl status mariadb (or mysql) and dmesg -T | grep -i 'killed process'. Low memory under traffic gets the database kileld first. Add swap and lower innodb_buffer_pool_size or move to a bigger plan. lmk how it goes

    2 8 helpful

Reply to this topic

Sign in or create an account to reply.