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
Solved

Data randomly disappears from on mysql table

Posted on 2009-05-06
7
516 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
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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…

809 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