Initial code to manage the database through Mysql