Save db settings ex db type

Save database settings in settings file.
Database type fixed to MySQL