This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Missing mysqld.sock
#6
[Solved] RE: Missing mysqld.sock
(07-01-2025, 04:40 AM)rsthomas Wrote: I appreciate your help!  Thanks for the Google links.  One of them them revealed the solution:

https://stackoverflow.com/questions/2057...sqld-mysql

Edit mysql config file by doing the below: sudo nano /etc/mysql/my.cnf and add tc-heuristic-recover=rollback under [mysqld]

Try to start mysql/mariadb server by sudo systemctl start mysql.service and it should fail with this error Can't init tc log.

Don't worry, just edit the config file again and comment tc-heuristic-recover=rollback

Try to start the mysql server again with sudo service start mysql.service and it should work fine.

Check the status to confirm service status mysql.service

Great! Glad you were able to solve it! StackOverflow is one of my favorite go-to sites.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Messages In This Thread
Missing mysqld.sock - by rsthomas - 06-27-2025, 06:15 AM
RE: Missing mysqld.sock - by TGates - 06-27-2025, 09:59 AM
RE: Missing mysqld.sock - by rsthomas - 06-27-2025, 10:15 PM
RE: Missing mysqld.sock - by TGates - 06-29-2025, 07:01 AM
RE: Missing mysqld.sock - by rsthomas - 07-01-2025, 04:40 AM
RE: Missing mysqld.sock - by TGates - 07-01-2025, 07:09 AM
RE: Missing mysqld.sock - by rsthomas - 07-01-2025, 09:09 AM
RE: Missing mysqld.sock - by TGates - 07-01-2025, 03:16 PM
RE: Missing mysqld.sock - by rsthomas - 07-04-2025, 05:58 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)