mysql server was down

Discussion in 'General' started by Waqas Saeed, Dec 4, 2024.

Tags:
  1. Waqas Saeed

    Waqas Saeed Member

    Hello,
    The MySQL server was recently down. I checked the email log and found this message. Additionally, the main control panel URL displayed an internal error 500, and the entire website indicated an inability to connect to the database.

    Code:
    2024-12-04T16:35:15.371415+00:00 server dovecot: auth-worker(4148664): Error: mysql(localhost): Connect failed to database (dbispconfig): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (111) - waiting for 125 seconds before retry
    2024-12-04T16:35:15.371672+00:00 server dovecot: auth-worker(4148664): Error: mysql(localhost): Connect failed to database (dbispconfig): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (111) - waiting for 125 seconds before retry
    2024-12-04T16:35:15.371858+00:00 server dovecot: auth-worker(4148664): Error: mysql(localhost): Connect failed to database (dbispconfig): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (111) - waiting for 125 seconds before retry
    2024-12-04T16:35:15.372085+00:00 server dovecot: auth-worker(4148664): Error: mysql(localhost): Connect failed to database (dbispconfig): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (111) - waiting for 125 seconds before retry
    - After the restart, it got back to normal. May i know what is causing that issue.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The message you posted just says mysql was not reachable. If you want to find out why mysql failed, check syslog and mysql log files.
     

Share This Page