my server is running normally. My problem is to connect to the bank via the Linux command line. My bank works because my application is running. But I can not access the bank. Whenever I type

mysql -u root -p

the field for entering my password appears. When I figure the password I get this error message:

ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2)

Notice that the error is speaking that it can not connect to the mysqld folder in the mysql sock, without the d. In my configuration file is configured to access the /var/run/mysqld/mysqld.sock and not the /var/run/mysqld/mysql.sock as it says in the error. I have already looked at the whole server and I did not find where this setting is. My archer etc/mysql/conf.d is accessing /var/run/mysqld/mysqld.sock

Please, help me!!

0 Answers