Added the mysql db connection variable to the script