I have tried the following script but unfortunately doesn\'t work. I am using a free MySQL database provider. Any ideas?
import MySQLdb myDB = MySQLdb.conne
GRANT ALL ON *.* TO user@192.168.39.17 -- client ip address IDENTIFIED BY 'pwd';
Edit
This is SQL that you'd run on the database in order to ensure that the user has access to everything. pwd is the user's password.
user
pwd
Basically, this answer assumes that the connection issue is a credentials issue.