how can i insert data into a mysql database?,db.close()