Knowledge base

Find articles about information features, troubleshooting guides,
and other technical information related to the hosting service Hostinger.

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).

  • Easy Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
From
¥
215
00
/mo
Save 82%
Get started