Hello,
I install nextcloudpi on my raspberry pi 3 witch the command:
curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | sudo bash
Know I wont use die MariaDB for other Project, but I do not now the root password. When I try
sudo mysql -u root -p
I can take my normal pi password. But I’m not login as root “MariaDB [(none)]>” I think.
If I try mysql -u root -p I get: ERROR 1698 (28000): Access denied for user ‘root’@‘localhost’
In the ubuntuuser wiki is explain how to change the password for root:
MariaDB [(none)]> update mysql.user set password=password(‘geheim’) where user=‘root’;
MariaDB [(none)]> flush privileges;
but it do noch work.
All so I try this password “ its randomly generated, you can find it at /root/.my.cnf” but it all so get an error
Can any body tell me how to change or find out: the MariaDB root password?
Bye BlueGE