[Sqlrelay-discussion] DBD Borkenpipe
Brought to you by:
mused
|
From: nemux <ne...@cp...> - 2007-10-17 09:24:54
|
Hello all,
i'm trying to do some tests with sqlrelay i'm doing that on :
FreeBSD 4.2
mysql client 3
Mysql server 5.1
sqlrelay-0.35_1 (installed from ports)
sqlrelay starts without problems but when i use this simple perl
script :
#!/usr/bin/perl
use DBI;
$dbh=DBI->connect("dbi:SQLRelay:host=127.0.0.1;port=3307;debug=1","user","password") or die DBI->errstr;
$dbh->disconnect;
#perl test.pl
Connecting to listener...
Inet socket: 127.0.0.1:3307
Authenticating with listener : user:password
No authentication error.
Must Not Reconnect.
Authenticating with connection : user:password
Broken pipe
#
I have the same error bypassing DBD using SQLRelay.pm :
$con=SQLRelay::Connection->new("127.0.0.1","3307","","user","password",0,1);
$cur=SQLRelay::Cursor->new($con);
$con->ping();
#perl testSQLRelay.pl
Broken pipe
#
i use DBI::mysql on the same server without issues
Someone know how can i solve this issue ?
Thanks.
|