The problem:
I'm trying to create a python script on my local computer, that will connect to a MySQL database on an amazon server.
What's the difference between this (which works):
And this:
Which returns this: Can't connect to MySQL server on '**************.rds.amazonaws.com' (60)
What I tried:
1.) Telnet to **************.compute.amazonaws.com:
Trying **************...
telnet: connect to address **************: Operation timed out
telnet: Unable to connect to remote host
2.) Logged on to **************.compute.amazonaws.com via ssh
, and tried to mysql -h there:
mysql -h profilerdev.cijoya8mp1vj.ap-southeast-1.rds.amazonaws.com ERROR 1045 (28000): Access denied for user '*******'@'*************.compute.internal' (using password: NO)
3.) Ran my script (above) on the server:
Error 1045 Access denied for user '*******'@'*************.compute.internal' (using password: YES)
Am I missing anything?
Aucun commentaire:
Enregistrer un commentaire