Good afternoon friends, after correctly installing MySQL 5.7 on my Ubuntu 16.04, when trying to connect to the database, I get an error message saying that it was not possible to connect through the socket.
Execution: mysql -u root -p
And then I get the error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
In the /var/run/mysqld/mysqld.sock
directory there is no file with extension .sock
I've already uninstalled and installed, tried with version 5.6 and nothing has worked. Any suggestion? Thanks!