db status check
create tempfile.csv under /tmp so that MySQL is able to write into it
remove creds file from version control, offer a sample file instead
changed PHP short tags to long ones
removed from version control