blob: dddc9e72ed3ab5dfd8114df608dbabd66b2b85b8 (
plain)
1
2
3
4
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]
|