I tried this as well as deleting the the log files mentioned in the alternate way and neither work. It just sits there saying this over and over when switching it to the linuxserver/mariadb:110.4.21mariabionic-ls31. I let it even run over night and still same result. Is there something I'm missing as stuck with this and nextcloud won't work, still have internal server error?
211202 08:40:46 mysqld_safe Logging to syslog.
211202 08:40:46 mysqld_safe Starting mysqld daemon with databases from /config/databases