www.webdeveloper.com
Results 1 to 3 of 3

Thread: Data base connectivity

  1. #1
    Join Date
    Apr 2003
    Location
    South Africa
    Posts
    220

    Data base connectivity

    Im using this, but it brings up an error
    any thoughts:

    use DBI;
    my $dsn = "dbi:mysql:db_databasename:localhost";
    my $user = "mysql";
    my $pass = "mysql123";

    but it doesnt connect

    Thankx in advance
    Regards MW

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    but it doesnt connect
    That's because you havn't told it to yet. All you've done is set a few variables. See the documentation for DBI. http://search.cpan.org/author/TIMB/DBI-1.35/DBI.pm
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  3. #3
    Join Date
    Apr 2003
    Location
    South Africa
    Posts
    220

    Thankx alot

    Thankx that site helped


    ____________________________
    "Nothing is too wonderful to be true" - Michael Farraday(UCLA)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles