I have mysql in my computer and have a table called Login hosted in Amazon AWS. The url from the AWS is in the form of
url:Port/Database_name
I am unable to connect to AWS database from python code using mysql connector. I am able to do it with my Java program though.