cd /var/lib/mysql
mv ib_logfile0 ib_logfile2
mv ib_logfile0 ib_logfile3
mv ib_logfile0 ib_logfile4
mv ib_logfile0 ib_logfile5
systemctl start mariadb mysqld
Referrence
https://m.blog.naver.com/goodjsg/220856488676
sudo ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
Reffernce
use mysql;
UPDATE mysql.user SET Password=PASSWORD('1234')
WHERE User='root';
update user set password=password('1234') where user='root';
ERROR 1820 (HY000): You must SET PASSWORD before executing this statement