List:General Discussion« Previous MessageNext Message »
From:Reindl Harald Date:July 6 2013 12:47am
Subject:Re: Undo Changes
View as plain text  
Am 06.07.2013 02:35, schrieb Rafael Ribeiro - iPhone:
> I would like to listen your opinion about a situation.
> There is a function that is able to REMOVE all data from an specific date ?
> I mean ... We are developing a demo script website, where users can join and test our
> system.
> We need a database reset every 3 hours ... Delete all new data and back all changes
> to a default point.
> Better do that with php or mysql has an internal function that handle this.

mysqldump -u username -ppassword database > dump.sql
mysql -u username -ppassword database < dump.sql

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Undo ChangesRafael Ribeiro - iPhone6 Jul
  • Re: Undo ChangesReindl Harald6 Jul
  • Re: Undo Changesspameden6 Jul