I am inexperienced with Linux so I have tried several fresh installs with no luck following this tutorial:
Each time I get stuck at the same part with no luck on any google searches of my errors. When I run:
sudo systemctl status mariadb
/usr/bin/mysql_upgrade: the '--basedir' option is always ignored Looking for 'mysql' as: /usr/bin/mysql Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck Version check failed. Got the following error when calling the 'mysql' command ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: FATAL ERROR: Upgrade failed
Also when I run:
sudo mysql -u root -p
mysql: unknown variable 'pid-file=/var/run/mysqld/mysqld.pid'
What am I missing?
Any help would be much appreciated!