Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[mv] mv3.14-3 and Sybase ASAny DBI



hello!

I have a shop running with mysql and it runs fine with these parameters in
catalog.cfg:

Database           products artikel dbi:mysql:dbname:localhost:3306
Database            products    USER    minivend
Database            products    PASS    123654


now I have to move the data to a Sybase ASAny server. I installed the
DBI:ASAny package for perl. With this perl script i can connect to the
server:

#!/usr/local/bin/perl -w
#
use DBI;
use strict;
my $database = "dbname";
my $data_source = "DBI:ASAny:$database";
my $username = "UID=dba;PWD=sql;ENG=dbname";
my $dbh = DBI->connect( $data_source, $username, '' );
#or die "Can't connect to $data_source: $dbh->errstr\n";
$dbh->disconnect;
exit(0);
__END__



but with these parameters in catalog.cfg it wont connect:

Database            products artikel dbi:ASAny:dbname:localhost:7786
Database            products    USER    sql
Database            products    PASS    dba

when I start I get:
Configuring catalog shopname...shopname config error: artikel: unknown
error 2385 (DBD: login failed)


can someone please help me? I really dont know what to do now...


klaus

_______________________________________________
Minivend-users mailing list
Minivend-users@minivend.com
http://www.minivend.com/mailman/listinfo/minivend-users


Search for: Match: Format: Sort by: