You could run a PHP script, maybe turn what your doing into a web page.
The contains of the script does not get displayed in the apache logs.
It just contains the fact the script was run.
Inside the script it uses variables to represent the values.
Make sure your use prepare statements to prevent bad guys from injecting things into your DB.
"UPDATE 'users' SET 'Name' = 'George' WHERE 'Id' = 1;
This is NOT a complete program.
/* Prepared statement, stage 1: prepare */
if (!($stmt = $mysqli->prepare("UPDATE 'users' set 'name'=name where 'id'=id"))) {
echo "Prepare failed: (" . $mysqli->errno . ") " . $mysqli->error;
}
?>
$id = 1;
if (!$stmt->bind_param("s", $name)) {
echo "Binding parameters failed: (" . $stmt->errno . ") " . $stmt->error;
}
if (!$stmt->bind_param("i", $id)) {
echo "Binding parameters failed: (" . $stmt->errno . ") " . $stmt->error;
}
if (!$stmt->execute()) {
echo "Execute failed: (" . $stmt->errno . ") " . $stmt->error;
}
?>
Of course you would have to setup a web browser GUI to get the name and id, but it would all be done inside PHP. None of the PHP activities are logged in apache just when the script runs.