I am using a EmonCMS configuration with a raspberry and a HDD.
I am a very beginner with all Linux command. When I was updating my EmonCMS installation I sent by error the following command:
sudo chown www-data:root /var/lib/mysql
Of course following that my emoncms database became unreachable... What is the default configuration "proprietary:group" for the "mysql" folder.
Thanks for your support
Re: Wrong linux command on "mysql" folder [SOLVED]
sudo chown mysql:mysql /var/lib/mysql should do it, if that's the only ownership and permissions change you've made to the mysql folder.
Re: Wrong linux command on "mysql" folder [SOLVED]
Thanks a lot for this prompt answer. I will try this later today.
Re: Wrong linux command on "mysql" folder [SOLVED]
Just two additional questions:
Is it the same for all the files and folders in the folder "/var/lib/mysql"? I don't remember if the -R extension parameter was used in the command I sent.
Another question (probably a very noobs one) Is it possible to access the content of this folder with a SFTP connection with Filezila as an example. As far as I remember I got and error. Is it linked to this owner settings?