Insert data to a mysql server from python ON PC with windows
after installing mysql server and client(python connector) on my beaglebone, I learn to insert data from python in to mysql server. All these are done on windows PC. most data are found in http://www.mysqltutorial.org/python-mysql/ Here is a example on how to connect to a data base from python: import mysql.connector from mysql.connector import Error def connect(): """ Connect to MySQL database """ try: conn = mysql.connector.connect(host='localhost', database='iot', user='root', password='') ...