Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 484 Vote(s) - 3.56 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Record Disappeared from Mysql Table, How Can I Find Out What Happened?

#1
I got the fire alarm phone call, AIM messages and email today from a client stating "The site is down!, WTF happened?!"

Well, after a little digging, it turns out one of the records in a table had been wiped clean, but without removing the row itself. So, I had the representation of data, but a bunch of empty fields. (needless to say I need to write into my code a catch for this.)

What my real question is, where can I figure out what happened? I've got access to phpmyadmin and that's about it. I found some access logs on in the root directory of my server, but that just tells me the client was in the admin area I built editing that record, I'd like to know specifically what they did that made all of the data go away. (what query was run etc...)

Is it possible without real server admin access? Is there a neat little php to mysql class that returns data like this?

Thanks in advance.
-Jascha
Reply

#2
If you're not logging queries, then you're not logging queries. [MySQL theoretically is capable of keeping a log][1]; it's all dependent on your server configuration.

If the access logs contain things like POST attributes, then perhaps you can recreate the chain of events. Otherwise, your lesson is learned: log, log, and log some more.


[1]:

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through