Could not start mysql or MariaDB. Permissions were ok, but mysql-bin.index permission error
You need to make /var/log/mysql fully owned by mysql

chown -R mysql:mysql /var/log/mysql


Then go start MariaDB

Make sure you are logged in as abuser that can start MariaDB

If not, use sudo

sudo service mysql start