🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.fr.os.freebsd
1 messages
1 total messages Started by Marc Thu, 04 Sep 2003 18:27
DBI ODBC FreeBSD
#2
Author: Marc
Date: Thu, 04 Sep 2003 18:27
30 lines
1968 bytes
Allo le groupe,

use strict;
use DBI;

my $nomBD ="testbd.mdb";
my $dsn = "DRIVER=Microsoft Access Driver (*.mdb);DBQ=$nomBD";
$connection = DBI->connect("dbi:ODBC:$dsn", "", "") or die
"$DBI::errstr\n";

Cela donne comme erreur:
DBI connect('DRIVER=Microsoft Access Driver
(*.mdb);DBQ=testbd.mdb','',...) failed:  at testbd.cgi line 6
[iODBC][Driver Manager]Invalid string or buffer length
(SQL-S1090)(DBD: db_login/SQLConnect err=-1)

La ligne 6 �tant la connection


J'utilise FreeBSD4.8, $DBD::ODBC::VERSION = '0.28', $DBI::VERSION =
"1.34" et tout � �t� install� � partir des ports.

Les permissions, et le chemin vers testbd.mb sont OK.
Cette erreur est commune � toutes les bd Access que j'ai test�.

Pourquoi la connection a t'elle �chou�e?
Code 18, probl�me de driver... comment r�soudre le probl�me?

Merci
Marc
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads