- 226
- 35
Python:
import mysql.connector
mydb = mysql.connector.connect(
host="92.53.99.174",
user="chine",
password="chineQQS1",
database="chine"
)
mycursor = mydb.cursor()
mycursor.execute("SELECT * FROM linkedin_users")
myresult = mycursor.fetchall()
for x in myresult:
print(x)