My Oracle Support Banner

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

Last updated on AUGUST 12, 2018

Applies to:

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


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



To view full details, 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 a vibrant support community of peers and Oracle experts.