Solved

How to tell if MySQL was hacked

Posted on 2009-03-30
5
263 Views
Last Modified: 2013-12-12
Hello,

We have a website with apps/DBs running on mySQL.  User feels one of the DBs may have been hacked and certain words put into a table.

Is there a log we can review with activity or a way to tell if this is old or recent?

Thanks
0
Comment
Question by:btny
  • 2
5 Comments
 
LVL 8

Accepted Solution

by:
vinurajr earned 250 total points
ID: 24026195
Activities can be logged like Username ,LoginTime,Logouttime and so on... but this wouldnt tell is hacked or not but can track who and all used at a poin of time....
0
 
LVL 3

Assisted Solution

by:HMoellendorf
HMoellendorf earned 250 total points
ID: 24026778
Hi btny,

you should have a backup and then you could find differncies. This could also a way to check if you have been hacked. Another way doesn't exists, because mySql doesn't save any connection.

Kind regards,
Henning
0
 
LVL 3

Expert Comment

by:HMoellendorf
ID: 24143484
Hi,

the deletion request is not permitted, because my comment reflects and answers the question of the user.
There is no better answer I think.

Please review this deletion request.

Kind regards,
Henning
0
 

Author Closing Comment

by:btny
ID: 31564622
Thanks for your input.

Both solutions helped, we wound up adding tables which show timestamps, etc.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Could anyone can give me a suggestion about good client friendly theme. 7 29
selector:validator cookies 4 30
Ahax pagination 9 32
Checking https returns 301 21 20
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question