Error establishing a database connection error


because I forgot my server root password, I restarted the server after using the “mount -rw -o remount /” command. and all my sites display the error message “Error establishing a database connection.” How can I fix?

i’ve fixed with symbolic links. i’ve migrated /var/lib/docker/volumes to /home, then reboot server. now all of them works.