sudo rm -rf /var/lib/mysql/*
sudo mysql_install_db –user=mysql –ldata=/var/lib/mysql/ –basedir=/usr/
systemctl start mariadb
/usr/bin/mysql_secure_installation
mysql -u root -p
摘自: https://rtfm.co.ua/mariadb-table-mysql-user-doesnt-exist/
未经允许不得转载:小毛子的记录站 » MariaDB: Table ‘mysql.user’doesn’t exist