mdavila78 wrote:
Quote:
I was wondering if it's possible to Clear MySQL's History Remotely. |
Hmm. Trying to cover your tracks? :-)
Note that the .mysql_history is a history of commands run by the client
on that host. So if you have no shell access on that host, SQL
statements you run won't be recorded in the .mysql_history file on that
host. They'll be recorded in the .mysql_history file on your client host.
Anyway, I agree with Dimitre, if you have no shell access on the
database server host, you have no privilege to modify files there.
MySQL cannot, and should not, grant that access.
If you have FTP access, you could upload a zero-length file, copying it
over a file for which you have write privileges.
MySQL has other logs which may be recording all queries against the
server, regardless of the origin client that executed the query. See
http://dev.mysql.com/doc/refman/5.0/en/query-log.html But this is also
inaccessible if you don't have shell access on the server host.
Regards,
Bill K.