perlisok has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am trying to connect with my database with this code:
And it gives me an error:#!/usr/bin/perl -w use DBI; my $dbh = DBI->connect( "dbi:mSQL//www.db4free.net/aghpisos", "sadecki +", "********" );
Could you help me? I am a beginner with perl & db. ThanksCan't connect to data source 'dbi:mSQL//www.db4free.net/aghpisos' beca +use I can't work out what driver to use (it doesn't seem to contain a + 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at driv. +pl line 5
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to connect with remote mySQL DB
by kcott (Archbishop) on Aug 16, 2012 at 09:40 UTC | |
by pvaldes (Chaplain) on Aug 16, 2012 at 10:03 UTC | |
Re: How to connect with remote mySQL DB
by DrHyde (Prior) on Aug 16, 2012 at 10:24 UTC | |
by sundialsvc4 (Abbot) on Aug 16, 2012 at 12:41 UTC | |
Re: How to connect with remote mySQL DB
by pvaldes (Chaplain) on Aug 16, 2012 at 09:39 UTC |
Back to
Seekers of Perl Wisdom