Mysql persistent backend

see https://stackoverflow.com/questions/15926826/truncate-multi-tables