in reply to Re^2: MySQL access denied
in thread MySQL access denied

Thanks for tip. All working now. Had a time with the relative path

sub UpdateUserTable { my $dbh = shift; my ($sth, $stmt); my $infile = "../securefiles/accesscontrol.txt"; warn("Entered sub UpdateUserTable"); $stmt = "DELETE FROM users"; $sth = $dbh->prepare ($stmt); $sth->execute () or die "Unable to execute query: " . $sth->errstr +; #$stmt = "LOAD DATA LOCAL INFILE '/home/jalamior/public_html/ht +tpsdocs/securefiles/accesscontrol.txt' $stmt = "LOAD DATA LOCAL INFILE '$infile' INTO TABLE users FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'"; $sth = $dbh->prepare ($stmt); $sth->execute () or die "Unable to execute query: " . $sth->errstr +; }

Replies are listed 'Best First'.
Re^4: MySQL access denied
by tultalk (Monk) on Mar 13, 2017 at 18:19 UTC

    Hi:

    The code above posts a message "complete" on a new blank page. UGLY.

    I would like to pop up a windows message instead.

    Have any of you ever used this: Net::NetSend?

    Reading the description sounds like it gets the netbios and IP it needs itself. Don't want the client (machine) to have to do anything.

    Search on monks found nothing.

    Any insight appreciated before I attack this

      Sorry Never mind. The required messaging systems are not provided in "modern" windows OS. Oops.

      looking into Tk if I can figure it out.

        Tk not for me. I will brew up my own. Best regards