Mysql persistent backend

If you think it is best I personnaly don't care.