Update db_upload.py

changed the MySQLdb.connect read_default_file from "~/.my.cnf"
to os.path.expanduser("~/.my.cnf")