Made changes moving db to galera