Solved

How to tell if MySQL was hacked

Posted on 2009-03-30
5
257 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

803 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