align database socket