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

Last updated on MARCH 08, 2017

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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms