I have a RDS-Aurora(Mysql) database and I want to create tables inside this DB.
MyRequirment: I want to create tables inside RDS db using python.
I found one python-library to do this task: PyMySQL
. PyMySQL
helped me to create a table inside the RDS-DB.
if my RDS-DB is accessibly publicly, i can use PYMYSQL
to connect to DB and create tables.
ISSUE My RDS-db is not publicly accessiable
How Can i connect to DB and create a table inside the RDS?
How Can i connect to DB and create a table inside the RDS?
There are three generally used solutions for that:
The ssh tunnel is the easiest to setup and use for development and testing purposes. There are many tutorials explaining how to set it up:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.