problem to acces to Msql database via msqlperl 
Author Message
 problem to acces to Msql database via msqlperl

Please,

I have a very big problem to acces to a database from a Perl program.

From this small program designed to make a simple connection to a database
and print the number of the connection,

       #!/usr/bin/perl

        package main;

line 5  use Msql;

        #Adresse of the server where is live the database
        $host = "hpwebux.utc.fr";

        #Name of the database on this server
        $database = "BD_UDOC";

        #Connection to the database
        $dbh = Connect Msql $host, $database ;

        print "Number of connection : $dbh!\n";

I have this error msg :


        /usr/lib/perl5/Msql.pm line 56
        BEGIN failed--compilation aborted at exemp2 line 5.

Have you got please, an idea for the origin of this error message?

Thank for your attention.

PS :
        1.The operating system I'm using is :
        Linux hpweb.utc.fr 2.0.0 #6 Fri Sep 13 15:54:01 MET DST 1996 i586

        2.The processor type is : intel 586

        3.The output of the command msqladmin version is
        $VERSION = $VERSION = "1.03";
        # $Revision: 1.88 $$Date: 1995/10/01 13:22:52 $$RCSfile: Msql.pm,v
$

        _______________________________________________
       |   Yves Nofiele                                |
       |                                               |

       |                                               |
       |   Etudiant ingenieur en informatique a        |
     /)|   l'Universite de Technologie de Compiegne    |(\
    / )|                 - UTC -                       |( \
 __(  (|_______________________________________________|)  )__
((( \  \ >  /_)                                 ( \  < /  / )))
(\\\ \  \_/  /                                   \  \_/  / ///)
 \          /                                     \          /
   \      _/                                       \_      /



Sun, 23 May 1999 03:00:00 GMT  
 problem to acces to Msql database via msqlperl

Quote:
> I have this error msg :


>         /usr/lib/perl5/Msql.pm line 56
>         BEGIN failed--compilation aborted at exemp2 line 5.

Seems that you havent installed the msql.pm module on your machine.
Get it from the next CPAN an install it; then it will work

Wolfgang



Fri, 11 Jun 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. MsqlPerl/DBI::mSQL emulation ?

2. MsqlPerl w/ Win32 version of Msql

3. MsqlPerl w/ Win32 version of Msql

4. mSQL & mSQLPerl Please Help

5. Connecting a mSQL database using the Msql module

6. ANNOUNCE: MsqlPerl, a perl5 module to a SQL database

7. Linux Msqlperl, WDB SQL,,Mini SQL Database Server, SebServer

8. Need msqlperl tar file for version 1.15 of msqlperl

9. problem installing Msql-Mysql modules, msql.so error

10. problems with perl-odbc-acces(winnt)

11. Perl and mSQL Database

12. How do you create an mSQL database...

 

 
Powered by phpBB® Forum Software