Help for this page

Select Code to Download


  1. or download this
    ##get the feed table
            my $table= $dbh->prepare("SELECT feed_table FROM database.stre
    +amTable where id = ? ");
    
            $table->execute($client_ID);
     $feed_table = $table->fetchrow_array();
    
  2. or download this
    ##connect to the feed database and then run query to find tables 
                   my $from_feed_host="production-feed.czdsk6vbk.us-west-2
    +.rds.amazonaws.com";
    ...
                    my $destination_user="root";
                    my $destination_pass="S3w3l^16";
                    my $dbh3 = DBI->connect( $from_feed_dsn, $from_feed_us
    +er, $from_feed_pass, {RaiseError => 1, PrintError => 1 }) or die ( "C
    +ouldn't connect to database
    
  3. or download this
    Warning: Using a password on the command line interface can be insecur
    +e.
    ...
         last_update: 0000-00-00 00:00:00
           pull_time: 2016-11-16 19:07:27
          queue_code: NULL