i’m getting this error when i’m trying to install v10
“ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)”, “stderr_lines”: [“ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)”]
hello @fnrfarid
yes i know and i already reply on that topic but i wanted to report it here one more time so maybe the frappe team can fix this error at the bench it self to avoid this extra step
After the installation generated the error, I followed those instructions to comment out the mysgl.sock line and restart the database. The server still would not start. Could not even get a login screen.
Did I miss something? Is it possible that something else never got around to finishing during the install process once the database choked?
I had this issue too on a fresh install I did, thankfully I had an image where I restored to get back to a fresh install environment, but I realized this error started happening about a week and a bit ago.
hello guys @fnrfarid@bkm@Nate_Riches@shrirangbhalerao2@sanju75 i just solved the problem right now but i will apply a pull request to the main bench repo to apply the solution @rmehta i wish if you accept my pull request to solve this serious problem, its under pull request " fix-mysql-error " by elba7r.