Config options for mysql db; mysql db gateway implemented