Added debug steps for mariadb/mysql

Added debug steps for mariadb/mysql as I had problems
when my OS partition was full and that was causing problems.