Common SQL Errors

MySQL Error 1078 ER_GOT_SIGNAL: Got signal - How to Fix and Prevent

Galaxy Team
August 5, 2025

MySQL Error 1078 ER_GOT_SIGNAL is raised when the server thread receives an unexpected operating-system signal and aborts the current operation, often crashing the session or server.

Sign up for the latest in common SQL errors from the Galaxy Team!
Welcome to the Galaxy, Guardian!
You'll be receiving a confirmation email

Follow us on twitter :)
Oops! Something went wrong while submitting the form.

What is MySQL error code 1078 ER_GOT_SIGNAL?

MySQL Error 1078 ER_GOT_SIGNAL happens when the server gets an unexpected OS signal (for example SIGTERM, SIGSEGV) and aborts the thread. Check the MySQL error log, identify the signal source, repair any corrupted tables, and restart the server to clear the condition.

Error Highlights

Typical Error Message

%s: Got signal %d. Aborting!

Error Type

Runtime Error

Language

MySQL

Symbol

ER_GOT_SIGNAL

Error Code

1078

SQL State

Explanation

Table of Contents

What is MySQL Error 1078 (ER_GOT_SIGNAL)?

The message “Got signal X. Aborting!” means the MySQL server thread intercepted an operating-system signal while running SQL.

Signals such as SIGINT, SIGTERM, SIGSEGV or SIGABRT force the thread to stop, so the server surfaces error 1078.

When does ER_GOT_SIGNAL occur?

The error appears during long-running queries, ALTER TABLE, bulk INSERT or online backup if the OS, an administrator or the kernel sends a fatal signal to the mysqld process or its worker thread.

Why fix it quickly?

Signals indicate crashes, out-of-memory kills or manual KILL commands.

Ignoring them risks data loss, table corruption and prolonged downtime, so immediate diagnosis is critical.

What Causes This Error?

External KILL commands, kernel OOM reaper, faulty hardware, buggy storage engines, or misconfigured scripts can all generate fatal signals that MySQL relays as error 1078.

How to Fix MySQL Error 1078 ER_GOT_SIGNAL

First inspect the MySQL error log to learn the exact signal number and timestamp. Next locate the source process in syslog or dmesg. Repair any affected tables with CHECK TABLE ...

REPAIR or mysqlcheck, then restart mysqld.

Common Scenarios and Solutions

If the kernel OOM killer terminated mysqld, add RAM or set vm.overcommit parameters. If a DBA ran KILL -9, switch to graceful KILL QUERY. For SIGSEGV from a plugin, update or disable the plugin.

Best Practices to Avoid This Error

Monitor memory, avoid kill -9, patch storage engines promptly, and use the InnoDB crash recovery settings.

Galaxy’s query history helps roll back risky commands before they need to be killed.

Related Errors and Solutions

Errors 2013 (Lost connection) and 1194 (Table is crashed) often accompany ER_GOT_SIGNAL. Diagnose them with the same log and repair approach.

.

Common Causes

Cause 1: External kill -9

A system administrator or automation script sends SIGKILL to mysqld or its thread, instantly aborting execution.

Cause 2: Kernel Out-Of-Memory killer

Low memory prompts the Linux kernel to terminate mysqld with SIGTERM or SIGKILL, producing error 1078.

Cause 3: Hardware or OS fault

Bad RAM, disk I/O errors or kernel bugs trigger SIGSEGV or SIGBUS, which propagate to MySQL.

Cause 4: Buggy plugin or storage engine

A segmentation fault inside a third-party plugin sends a fatal signal that the server converts to ER_GOT_SIGNAL.

.

Related Errors

FAQs

How do I know which signal triggered error 1078?

Check the MySQL error log. It includes the signal number and sometimes the process ID that sent it.

Can I ignore ER_GOT_SIGNAL if the server stays up?

No. Even without a crash, the aborted thread might leave partial writes or table locks. Always investigate.

Does ER_GOT_SIGNAL always indicate corruption?

Not always. A manual kill -9 can raise the error without data damage, but you must still verify integrity.

How does Galaxy help prevent this error?

Galaxy’s editor shows query run-time and lets you cancel long queries gracefully, avoiding OS-level kills that generate ER_GOT_SIGNAL.

Start Querying with the Modern SQL Editor Today!
Welcome to the Galaxy, Guardian!
You'll be receiving a confirmation email

Follow us on twitter :)
Oops! Something went wrong while submitting the form.

Check out some other errors

Trusted by top engineers on high-velocity teams
Aryeo Logo
Assort Health
Curri
Rubie Logo
Bauhealth Logo
Truvideo Logo