[fixes #43791709] use 'mysql2' database adapter for rails

Change-Id: Iec8adbbf9232d779d3626bb52fbbbf3f17d63553