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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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 22:01:30 2025 UTC