I'm having trouble installing DBD-Mysql on cygwin -should I forget about cygwin because it seems like so much hassle to me.
I've installed DBI on cygwin and it works -
#! /usr/bin/perl -w
use strict;
use DBI;
print "Here's a list of DBI drivers:\n";
my @available_drivers = DBI->available_drivers('quiet');
my $driver;
foreach $driver (@available_drivers)
{
print "$driver\n";
}
and I got ExampleP and Proxy as output.
I then untarred DBD-mysql-2.1026.tar.gz and when I tried to run perl Makefile.pl, I got "cannot exec mysql-config". I then looked at INSTALL.html and it said to run
configure --without-server
when you dont have Mysql on your machine, but I got something like this in return - "Configure" command not found. I ran both perl Makefile.pl and configure --without-server from within the directory - /home/Administrator/DBD-mysql-2.1026
So I've no idea what to do now. All I want to do is run my scripts on my PC, and allow them to connect to a mysql database which is setup and working on another machine.
What should I do
Thanks.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.