What is my database socket path?

Modified on:
MySQL socket path database socket path

The default location for the Unix socket file that the server uses for communication with local clients is /tmp/mysql.sock (if this one does not work try /var/lib/mysql/mysql.sock).

  • Unlimited Number of Websites
  • 24/7 Live Support
  • Easy Website Builder
  • 2X WordPress Optimized Speed
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
$ 3
49
/mo
$26.52
$10.47 for 3 months
Save 61%
Get started