I gave it a shot, I don't get that far :)(DBI 1.42, DBD::mysql 2.9003, DBIx::Chart 0.01, DBD::Chart 0.80)
=begin sql use test; drop table bw_daily; create table bw_daily ( ip varchar(20) not null, interface varchar(25) not null, ndate date not null, ntime time not null, bin int(11), bout int(11), KEY(ip), KEY(interface), KEY(ndate), KEY(ntime) ); INSERT INTO bw_daily (ip, interface, ndate, ntime, bin, bout ) VALUES("10.151.1.254" , "fe0/1", "2004-03-20", "04:30:00", 0, 0); INSERT INTO bw_daily (ip, interface, ndate, ntime, bin, bout ) VALUES("10.151.1.254" , "s0/1" , "2004-03-20", "04:30:00", 33, 44); INSERT INTO bw_daily (ip, interface, ndate, ntime, bin, bout ) VALUES("138.198.1.254", "fe0/0", "2004-03-20", "04:30:00", 455, 455); =end sql =cut use strict; use warnings; use DBIx::Chart; my $db = "DBI:mysql:test"; my $dbh = DBIx::Chart->connect($db) or die "Can't connect to database: ",DBIx::Chart->errstr(); my $ip = $dbh->quote('xxx.xxx.xxx.xxx'); my $int = $dbh->quote('s0/0'); my $dt = $dbh->quote('2004-03-21'); my $sql = "SELECT ntime,bin,bout from bw_daily where ndate=" .$dt." and ip=" .$ip." and interface=" .$int." RETURNING LINEGRAPH(ntime,bin,bout) WHERE width=50 +0 and height=250 and title='weekly bandwidth utilization graph' and c +olors in ('red','blue') and background = 'lgray' and x-axis='time' an +d y-axis='bandwidth' and signature='ESM\@ST' "; my $sth = $dbh->selectrow_arrayref($sql); open(FI, ">gp1.png"); binmode FI; print FI $$sth[0]; close FI; $dbh->disconnect; exit 0; __END__ Can't take log of 0 at C:/Perl/site/lib/DBD/Chart/Plot.pm line 1556. DBI handle has uncleared implementors data. dbih_clearcom (sth 0x246510c, com 0x2461ba8, imp DBD::mysql::st): FLAGS 0x180113: COMSET IMPSET Warn PrintError PrintWarn PARENT DBIx::Chart::db=HASH(0x24659a4) KIDS 0 (0 Active) IMP_DATA undef NUM_OF_FIELDS 3 NUM_OF_PARAMS 0

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.


In reply to Re: DBIx::Chart with mysql error: handle has uncleared implementors by PodMaster
in thread DBIx::Chart with mysql error: handle has uncleared implementors by chimni

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.