testing script to connect to mysql, read table, write file, and send alert