The problem probably lies in the permissions the server has.
Each database and each table can have each own permissions set, using the
GRANT statement.
Now, what is usally done is something like this
GRANT ALL PERMISSIONS ON some_database TO some_user
@localhost ... (etc, not relevant)
The problem lies in the @localhost part.
When you connect from the code running on netdive.com to the DB on netdive.com, you are connecting from the server to itself, using localhost, so the grant is accepted,
but when you connect from server1.anoox.com you're
not connecting from localhost, and therefore don't have the permissions connections from localhost have.
Bookmarks