Connection moved from file to SQL table.