I recently set up a database and while I can connect using the phpMyAdmin tool, I am unable to connect remotely using a python script. (The script works when connecting to an identical remote database.) The error I'm getting looks like a permissions error, and when I look at privileges for my database I see that there are no privileges for any of my db accounts . Attempts to grant privileges are not allowed. Can anyone help me resolve this?