Created
March 20, 2020 02:56
-
-
Save jkeefe/968b3bce0406ceb87dc0fb88ac0a08ef to your computer and use it in GitHub Desktop.
pymysql connection setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import pymysql | |
host="very.long.endpoint.definition.amazonaws.com" | |
port=3306 | |
dbname="your_database_name" | |
user="your_user_name" | |
password="your_password" | |
conn = pymysql.connect(host, user=user,port=port, | |
passwd=password, db=dbname) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment