diff options
| -rw-r--r-- | static/includes/settings.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/includes/settings.inc.php b/static/includes/settings.inc.php index 9751cff..b8a213c 100644 --- a/static/includes/settings.inc.php +++ b/static/includes/settings.inc.php @@ -1,8 +1,8 @@ <?php // PDO socket -// Or using socket would be even faster then 127.0.0.1 :3 -define('POMF_DB_CONN', 'mysql:host=127.0.0.1;dbname=pomf'); +// mysql.sock path can be different from /tmp/mysql.sock, see /etc/my.cnf +define('POMF_DB_CONN', 'mysql:unix_socket=/tmp/mysql.sock;dbname=pomf'); // MySQL user and password define('POMF_DB_USER', 'pomf'); define('POMF_DB_PASS', '***'); |
