diff options
Diffstat (limited to 'app/test.py')
-rw-r--r-- | app/test.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/test.py b/app/test.py new file mode 100644 index 0000000..dddc9e7 --- /dev/null +++ b/app/test.py @@ -0,0 +1,5 @@ +import mysql.connector as con +mycon = con.connect(host="sql12.freesqldatabase.com",user="sql12352288",password="7X35JENbK3",port=3306,database="sql12352288") +mycursor = mycon.cursor() +mycursor.execute("SELECT COUNT(*) FROM curie") +id = mycursor.fetchall()[0][0]
\ No newline at end of file |