openbsd-ports/net/p5-Net-MySQL/patches/patch-MySQL_pm
wilfried 33ca157c6f update to p5-Net-MySQL-0.07
- When old Perl was used, the problem which cannot encode a password
  correctly was corrected.
- UNIX Socket connection support.
- The version of Perl to demand was lowered to 5.004.
- Fixed the problem which cannot acquire the field with a length
  of 16 bits or more.
- Fixed some uncanny typoes.
2002-08-09 10:32:25 +00:00

22 lines
764 B
Plaintext

$OpenBSD: patch-MySQL_pm,v 1.1 2002/08/09 10:32:25 wilfried Exp $
--- MySQL.pm.orig Wed Jul 24 08:49:56 2002
+++ MySQL.pm Fri Aug 9 12:28:33 2002
@@ -31,7 +31,7 @@ use constant COMMAND_CONNECT_OUT => "
use constant DEFAULT_PORT_NUMBER => 3306;
use constant BUFFER_LENGTH => 1460;
-use constant DEFAULT_UNIX_SOCKET => '/tmp/mysql.sock';
+use constant DEFAULT_UNIX_SOCKET => '/var/run/mysql/mysql.sock';
sub new {
@@ -785,7 +785,7 @@ The constructor of Net::MySQL. Connectio
=item unixsocket
-Path of the UNIX socket where MySQL daemon. default is F</tmp/mysql.sock>.
+Path of the UNIX socket where MySQL daemon. default is F</var/run/mysql/mysql.sock>.
Supposing I<hostname> is omitted, it will connect by I<UNIX Socket>.
=item hostname