create mysql connection and queries
create index table -sort -group of all files