I’ve got a raspberry pi with a phpmyadmin database. However I can not remember the password. I may not even have a password. I have tried various method of resetting the password but when I try
mysql -p -u root
I get an error no matter what I put in the password box. This is the error
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/bar/run/mysqld/mysqld.sock’ (2)
Any ideas to fix? Many thanks.