You are here
Nick Koulias - Sat, 2015/07/18 - 00:15
Hi,
I am having issues connecting to mysql from a python script. LAMP setup successful. Logged on and created necessary databases and enabled access. I receive the following error when connecting:
errno=2003, values=(self.get_address(), _strioerror(err)))
mysql.connector.errors.InterfaceError: 2003: Can't connect to MySQL server on '54.79.57.125:3306' (60 Operation timed out)
Below is the code i use to connect remotely:
db=mysql.connector.connect(user='root', passwd='xxxxx',db='ASX', host='54.79.57.125')
I have also attached screenshots of the mysql setup. Any assistance will be greatly appreciated!
Kind regards,
Nick
Forum:
Tags:
Did you enable remote MySQL access?
Add new comment