python - Connecting to MySQL DB on RDS -


i've encountered phenomenon absolutely baffled me. far, i've been connecting without problem amazon rds instance running mysql. right now, i'm trying migrate db in free tier - running on microsoft express edition.

i've set security of instance , can connect through sql explorer in visual studio 2012. however, can't access through python (mysqldb - same credentials, , same script worked first db):

2013, lost connection mysql server @ 'reading initial communication packet', system error 104

nor through mysql-front - connection failure.

i can't wrap head around - missing obvious? same thing happens on 2 machines - vs can connect, while nothing else can. ideas?

python connection attempt:

db = mysqldb.connect(host = "yep-my-endpoint.us-west-2.rds.amazonaws.com",                      user="user",passwd="mypasswd", port=1433, db="yep-db-name") 

is there maybe setting have set in connection work? failed find related.

have checked amazon rds security groups? please note in cases, you'll need add ip address you're connecting. in case, select security group left menu, edit , add cidr/ip.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -