I was trying to get access to my DB from my second machine via Wi-Fi. I thought if I change root@localhost to root@0.0.0.0 it will allow me to connect to db. But I was wrong. Now I can't connect to my DB neither from localhost and second machine.
How to switch root@0.0.0.0 to root@localhost? I know the root password. Thank you in advance!