My Oracle Support Banner

MySQL Error: Can't Connect to Local MySQL Server Through socket; Errno 13 (Doc ID 2002596.1)

Last updated on NOVEMBER 14, 2024

Applies to:

MySQL Cluster - Version 5.0 and later
MySQL Server - Version 4.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to connect to MySQL on localhost using the Unix socket, the following error occurs.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.