Final version
From sqlite to mysql