[prev in list] [next in list] [prev in thread] [next in thread]
List: dbi-dev
Subject: Help! mSQL - DBI problem
From: Thuan Lip Ong <thuanlip () tm ! net ! my>
Date: 1997-09-29 18:15:25
[Download RAW message or body]
*** From dbi-users -- To unsubscribe, see the end of this message. ***
Hi all,
I am a very new DBI user trying to install the necessary components on
my server running FreeBSD 2.2.2. I have mSQL 2.0.1 installed. I also
installed DBI 0.90 as well as MsqlPerl 1.1811. After installation, I
find the following error messages when running a simple test script. I
have read all the supplied docs but have yet to find an answer. Can
anyone help?
btw, my server was previously installed with DBI 0.78 (I think). I
believe I have removed all old files associated with this old release,
but I am not 100% sure. Will an incomplete removal of old files confuse
the system as to which version it is running?
I enclose my two test scripts and results below..
Thank you.
Thuan Lip Ong.
---start file---
#!/usr/bin/perl -w
use Msql;
$dbh = Msql->connect("","testdb");
die unless $dbh;
$dbh->disconnect;
exit;
---end of file---
Msql's message: Can't connect to local MSQL server at test1.pl line 5.
Died at test1.pl line6.
---start file---
#!/usr/bin/perl -w
use Msql;
$dbh = Msql->connect("my.servername.com","testdb");
die unless $dbh;
$dbh->disconnect;
exit;
---end file---
Msql's message: Protocol mismatch. Server Version = 23 Client Version =
22 at test2.pl line 5.
Died at test2.pl line 6.
------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dbi.
If you are without web access, or if you are having trouble with the web page,
please send mail to dbi-request@fugue.com. Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic