Skip to content

artturig/raspidb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

raspidb

Listen serial and write to mysql db using python

Raspi_nrf.tzz

Create local file db_conf.py and insert following:


import MySQLdb

def dbconn(): db = MySQLdb.Connect(host="localhost", # your host, usually localhost user="root", # your username passwd="password", # your password db="raspi") # name of the data base

dbconn()

About

Listen serial and write to mysql db using python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages