php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6540 mysql.sock not found on OpenBSD
Submitted: 2000-09-04 20:08 UTC Modified: 2001-05-11 21:49 UTC
From: evanc at concer dot to Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.2 OS: OpenBSD-current
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: evanc at concer dot to
New email:
PHP Version: OS:

 

 [2000-09-04 20:08 UTC] evanc at concer dot to
mysql.sock isn't found on OpenBSD.  Patch attached:

--- ../1/php-4.0.2/ext/mysql/config.m4  Tue Jun 20 18:12:22 2000
+++ ext/mysql/config.m4 Mon Sep  4 15:52:55 2000
@@ -19,6 +19,7 @@
   AC_MSG_CHECKING(for MySQL UNIX socket)
   MYSQL_SOCK=/tmp/mysql.sock
   for i in  \
+      /var/mysql/mysql.sock \
       /var/run/mysqld/mysqld.sock \
       /var/tmp/mysql.sock \
       /var/lib/mysql/mysql.sock \

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-23 14:19 UTC] jon@php.net
Duplicate of <a href="http://bugs.php.net/bugs.php?id=7034>#7034</a>.

Anil Madhavapeddy <avsm@openbsd.org> also says:

"Our local configure patch will be removed with the 4.0.4 update."
 [2001-05-11 21:49 UTC] sniper@php.net
fixed.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 05 23:01:28 2025 UTC