NeDi Community

NeDi Software Specific => Installation => Topic started by: ahl on March 10, 2020, 06:41:39 PM

Title: Could not connect to nedi@localhost with nedi
Post by: ahl on March 10, 2020, 06:41:39 PM
Dear All;

I am facing a problem of not being able to login and getting the error message on subject
I am getting also ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") on console.
This happened to me before because of disk space and I had to delete a file after increasing the disk space to get it working again
The problem I am not able to find which file to delete ( I don't remember well but it was either a temporary or log file )  :(

Thanks for your help in advance
Title: Re: Could not connect to nedi@localhost with nedi
Post by: Hannu Liljemark on March 12, 2020, 09:08:02 AM
Is mysqld running on your system? Try restarting it? If you have one / filesystem I'd use "du -sh /" to look which directory uses most space and work from there, or if /var is seperate filesystem and it's full, "du -sh /var" and then dig down to see what could be deleted.

Look at /var/log/messages, /var/log/syslog, /var/log/daemon or something similar if mysqld refuses to start.

Br,
Hannu
Title: Re: Could not connect to nedi@localhost with nedi
Post by: ahl on March 13, 2020, 09:11:26 AM
Thanks for the hint

Finally found the solution after checking mysql error log ..
After increasing the disk size
I had to rename ( or remove ) /var/lib/mysql/tc.log