Python MySQL Select

import mysql.connector
from sqlalchemy import create_engine
import pandas as pd

sqlEngine = create_engine('mysql+pymysql://username here:password here@localhost/db name')
dbConnection = sqlEngine.connect()
db = mysql.connector.connect(

    host="localhost",
    user="username...",
    passwd="password...",
    database="db name...")

mycursor = db.cursor()

statement = pd.read_sql("SELECT * FROM table", dbConnection)

# Get the returned values
print(statement.values)

Herker