[haiku-bugs] [Haiku] #10869: mysqlPP on Perl fails to connect

  • From: "bluedalmatian" <trac@xxxxxxxxxxxx>
  • Date: Sat, 24 May 2014 23:42:34 -0000

#10869: mysqlPP on Perl fails to connect
 Reporter:  bluedalmatian       |        Owner:  nobody
     Type:  bug                 |       Status:  new
 Priority:  normal              |    Milestone:  R1
Component:  Network & Internet  |      Version:  R1/alpha4
 Keywords:  Perl MySQL          |   Blocked By:
 Blocking:                      |  Has a Patch:  0
 Platform:  All                 |
 Connecting to MySQL via Perl does not work. AFAIK the MySQL C lib is at
 present incomptaible with Haiku and will not build therefore it would seem
 at present MySQLPP is the only short term way to connec to MySQL.

 The Perl MySQLPP module which implements the MySQL protocol purely in Perl
 will not connect.
 This appears to be am incompatibility between the Net::MySQL module (which
 MySQLPP depends on) as normal IP sockets (IO::Socket::INET) under Perl
 work OK

 The error given when connecting is
 DBI connect('database=dbname;host=dbserver.domain.com','username',...)
 failed: Couldn't connect to mysql.positive-internet.com:3306/tcp:
 IO::Socket::INET: connect: Operation now in progress at
 /boot/common/lib/perl5/site_perl/5.10.1/DBD/mysqlPP.pm line 109

 Line 109 calls into Net::MySQL's new() function.

 Looking in the code for the new() function Im wondering if its the use of
 Unix domain sockets which is causing the problem?

 This occuring with Alpha 4 with Perl modules installed using the cpan
 command. I have been unable to test it on a more recent nightly build as I
 cannot get one to boot on my hardware.

Ticket URL: <https://dev.haiku-os.org/ticket/10869>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: