Categories

Main
Database
Java
Microsoft.NET
Adabas
DB2
Informix
Microsoft SQL Server
MySQL
Oracle
Pervasive.SQL
PostgreSQL
Sybase
Other
ASP
ColdFusion
Crystal Reports
Delphi, C etc
JAVA
Microsoft.NET
Perl and the DBI
PHP
ANSI SQL
Unix Shell Scripts
Visual Basic
XML & XSLT
Corel Paradox
FileMaker
Microsoft Access
Microsoft Excel
Other PC Databases
Applications & Tools
Database Concepts & Design
EJB programming & troubleshooting
EJB design
General J2EE
XML & Web services
Web tier: servlets, JSP, Web frameworks
Performance and scalability
Industry news
TSS feedback
Mobicents Contributors
Mobicents Users
JSLEE Resource Adaptor Types
Planning JavaOne 2008
Sun Tech Days
Other Java conferences
Binary Web Services and XML
Metro and JAXB
GlassFish
GlassFish Plugins
Project jMaki
GlassFish WebTier
Mural
Java Development Tools
Java WS & XML Community News
JAXP
Java SE
6uN Early Access
Java Quick Starter
Java SE Snapshots: Project Feedback
JCK Forum
Feedback and Suggestions
JDK Distros
JDK Open Source
General JSR Discussion
JCP 2.6
JXTA Community Forum
ME Interest
ME Cool Apps
ME General Help
ME Feedback & Suggestions
ME Application Developer Interest
Blu-ray Disc Java
ME Developer Days
Squawk
Mobile Developer Alliance
OpenCable
LWUIT
JavaFX Script Language Discussion
OpenJFX General Discussion
Scene Graph
General Performance Discussion
Your Java Career
NetBeans 6.0
Servlets
JSP
JSF
Portals and Portlets
EJB and Other Java EE Technologies
Distributed Java
Object Relational Mapping
JDBC
Web Services
Swing / AWT / SWT / JFace
JNLP and Web Start
Java Micro Edition
Sockets and Internet Protocols
Threads and Synchronization
Performance
Applets
I/O and Streams
Other Java APIs
Game Development
Java in General (beginner)
Java in General (intermediate)
Java in General (advanced)
Programmer Certification (SCJP)
Developer Certification (SCJD)
Associate Certification (SCJA)
Web Component Certification (SCWCD)
EJB Certification (SCBCD)
Mobile Application Certification (SCMAD)
Architect Certification (SCEA)
Web Services Certification (SCDJWS)
XML Certification
Product and Other Certifications
Mock Exam Errata
Sun Certification Results
Authors' Corral
Book Reviews
Events
Bunkhouse Porch
Teachers' Lounge
Testing
OO, Patterns, UML and Refactoring
IDEs, Version Control and other tools
Ant, Maven and Other Build Tools
Linux / UNIX
Mac OS
HTML and JavaScript
XML and Related Technologies
Agile and Other Processes
General Computing
Security
Groovy
Scala
Other Languages
Struts
Application Frameworks
Other Open Source Projects
BEA/Weblogic
IBM/Websphere
Oracle/OAS
Apache/Tomcat
JBoss
Other Java Products and Servers
JavaRanch
Cattle Drive (java college)
Moderators Only
Trash Can
Jobs Offered
Jobs Wanted
Jobs Discussion
Meaningless Drivel
Programming Diversions
Blatant Advertising
Java Announcements
New To Java
Advanced Java
Java Applets
Networking
Threads and Synchronization
Java 2D
AWT / Swing
SWT / JFace
CLDC and MIDP
CDC and Personal Profile
Sun Java Wireless Toolkit
Enterprise JavaBeans
JavaServer Pages (JSP) and JSTL
Java Servlet
JavaServer Faces
Web Frameworks
Database
XML
Lucene
NetBeans
Eclipse
IntelliJ IDEA
JCreator
Other IDEs
Java Tutorials
Java Tips
Jobs Discussion
Jobs Offered
Jobs Wanted
Professional Certification
Forum Lobby
Java Blogs
Introductions
Reviews / Advertising
Suggestions & Feedback

Resources

Java Database
Linux
Coding
Mobile
Hardware
Software Development
Software Development
iOS,OS X
iOS,OS X
ORACLE
IBM DEVELOPER
IBM DEVELOPER
MSDN
MSDN


Tags

MySQL

MySQL is the cross-platform open source database server software used extensively in web development and implementaion. It lacks many advanced features that are taken for granted in the enterprise systems, but these shortcomings are offset by ease of use and impressive speed.

Missing Records?


Okay, a bit of an odd issue here. MySQL seems to be removng records on it's own. JK. Anyway, the scenario is I have a user who claims that he has done nothing, but a table record cound went from 900 records to like 30 records. There are some issues here that could have caused this including an insecure application (that allows delete access) or someone evil at my organization who feels like deleting arbitrary records. This is the only DB with a problem. Records just seem to disappear....apparently. 

My short question is this. Are there any conditions (e.g. certain corruptions) that could harm data in this db? Obviously, I have my own theories (see above), but I want to be sure that no other circumstances could have caused this.

Wierd question...I know. Thanks for your comments!

Quote:
	
	
		
			
				Originally posted by DrSmartman 
Okay, a bit of an odd issue here. MySQL seems to be removng records on it's own. JK. Anyway, the scenario is I have a user who claims that he has done nothing, but a table record cound went from 900 records to like 30 records. There are some issues here that could have caused this including an insecure application (that allows delete access) or someone evil at my organization who feels like deleting arbitrary records. This is the only DB with a problem. Records just seem to disappear....apparently. 

My short question is this. Are there any conditions (e.g. certain corruptions) that could harm data in this db? Obviously, I have my own theories (see above), but I want to be sure that no other circumstances could have caused this.

Wierd question...I know. Thanks for your comments! 
			
		
	
	
 

"user who claims that he has done nothing" - Never trust to user because the user everythime claims "He has done nothing".
I don't believe that is the DB problem. I am using MySQL from 3.22.x and similar problem has never happened.

LOL....yes, exactly. I don't beieve it. Especially when there is an unprotected admin page. Makes one wonder...

....still just curious as to whether it is in the realm of possibilities. My inclination is 'no' and just to resotre them with a backup. However, the powers that be want to make sure something is not wrong with their databases.

thanks

one more thing. the user didn't have command line. i find it difficult to believe they would manually delete 900 records one at a time. maybe someone on the inside is doing something. not sure. perplexed.

Quote:
	
	
		
			
				Originally posted by DrSmartman 
one more thing. the user didn't have command line. i find it difficult to believe they would manually delete 900 records one at a time. maybe someone on the inside is doing something. not sure. perplexed. 
			
		
	
	
 

If the user has remote access allowed, then he don't need the command line. There are plenty of GUIs. GUI and user = big danger.


Related Links

Before doing a MySQL dump for backup, should I STOP MySQL first?
how do I connect from a mysql db to sqlserver db
Advice on using Update/Replace/Where?
MySQL keys question
Importing an excel file into mysql db?
DBDESIGNER4 Will it work with mysql 5.0x
Special SELECT statement with field parsing
"SELECT INTO OUTFILE" problem
Migrate informix programming language to MSQ
Excel to MySQL
Selection Problem
SQL file containing INSERT - need to add USE database
last 3 reactions to news items (was "Query problem.")
MYSQL connection in windows workgroup
Mirror Service
Date Format