I'm unable to connect mysql which is hosted online. It is showing internal server error with port 3306 even when I have not specified the port This is the connection line: db = sql.connect(host='sql6.freesqldatabase.com', user='user_nm, passwd="paswd", database='db_nm') 'https://photos.google.com/search/tra/photo/AF1QipMUxRuuT6y9FnVm64YRhWr9wqMsTGTfRuosJoiu'