Solved

Data randomly disappears from on mysql table

Posted on 2009-05-06
7
524 Views
Last Modified: 2012-05-06
I have a mysql database that I have had data disappear from randomly. The odd thing is it only happens with 1 table. All other tables in database are fine. Any ideas what might cause this?
0
Comment
Question by:deanx032
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 15

Expert Comment

by:oobayly
ID: 24319630
Have you enabled server logging so that you see what delete commands are being executed.
Is it possible that deleted commands are being executed on the table but not using PK information?
Have you noticed any unexpected logins to the server?
Are you sanitising user input and using Paramters when executing commands?
0
 

Author Comment

by:deanx032
ID: 24321754
I don't know the answers to any of those questions. I will try to find them and get back to you. I went through all of the logs I have access to and was not able to identify any suspicious logins. Of course, that might just be the ftp and not the database.
0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24324599
As a rule Data doesn't disappear!
Normally it's a case of a user changing some detail, that makes it not part of the Dataset.

Gary
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 46

Expert Comment

by:tbsgadi
ID: 24324607
As a rule Data doesn't disappear!
Normally it's a case of a user changing some detail, that makes it not part of the Dataset.

Gary
0
 

Author Comment

by:deanx032
ID: 24332575
The problem has been solved. The site had been hacked into because I had forgotten to put access restrictions on one of the delete pages. Thanks for your input everyone!
0
 

Accepted Solution

by:
ee_auto earned 0 total points
ID: 24562175
Question PAQ'd, 500 points refunded, and stored in the solution database.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

635 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