Hello all
My pi don’t want to boot. 4 green LED flashing.
I don’t know why (some electrical cut)
So It’s time to reinstall.
But nothing seem to work well with mysql.
sudo apt install mysql-server => don’t work anymore so I’ve try mariadb
=> ok
sudo mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
sudo service mysql stop
Failed to stop mysql.service: Unit mysql.service not loaded.
ok, try to find my.cnf => nothing
sudo mysql_secure_installation
sudo: mysql_secure_installation: command not found
sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf
no file found
please can you update this how to ?
I don’t know how I can repair or reinstall my OSMC
EDIT : I’m a idiot : I have installed the mariadb client !! and loose 2 h… Sorry