Forum Moderators: open
I've gotten in the habit of running a "describe" before the select to make sure it's using the proper index, keys, etc. and that has helped.
I've also been monitoring the threads in the mySQL Administrator to see what might be bogging down the database.
I've noticed that there are several threads popping up as: "select * from contacts". I've checked and rechecked the code for the app and no where do I use 'select * from contacts' so the db engine must be asking for that somehow/somewhere.
is there was I can find out why that query is being run and put a stop to it?
Thanks.
The only other thing I can think of is if you had a cron outside the code base checking for something. I know I sometimes forget to check crons when I go over the codebase looking for something, that and functions/stored procedures I seem to over look a lot.
Is there anything in the user manual that explains the DB internal routines used for indexing?
[edited by: Demaestro at 6:53 pm (utc) on Jan. 12, 2009]
as there would have been much more damage
Not necessarily, if they are hacking it to collect email they'd want to keep that game running as long as possible without being discovered.
Also, just because they haven't done more damage yet is no guarantee that the hacker(s) won't do further damage later once they get bored with their other hacked sites.