Cant initialize MySQL. "mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended"
The error says: 


  The system tablespace must be writable


Please check the permission of the data directory of MySQL