changed db adapter for ubuntu