Had done same earlier and now… still error exists. had tried restarting server via …sudo systemctl start mysql.service… several times.
Don’t create my.cnf, search for existing my.cnf and add to it.
sudo nano /etc/my.cnf
But stilll error is not going.
I faced same issue of AttributeError: conf
Turned out that I had to do bench use <<’<sitename’>>> in dns multi tenancy setup, whereas I had left the curentisite.txt blank.