I accidently ran
sudo chown -R user:user *.* (on Ubuntu 11.1) inside
Even after running
sudo chown -R root:root *.* (and rebooting) I keep getting GUI messages that some operations are not allowed (permission errors) and even trying to run mysql, raises
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Can this be undone?