Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I always add a LIMIT even when not necessary.

Why doesn't MySQL have a version control baked in? Even if it preserves just the last n hours of state..



Since you're using MySQL, you can start it with --i-am-a-dummy [1]. Not a backup, but still handy.

[1] http://dev.mysql.com/doc/refman/5.6/en/mysql-tips.html#safe-...


It kind of does. It's called the binary log.



That's what backups are for. With appropriate checkpoints, you can roll back to any point in time with a reasonable level of precision.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: