more than likely it's the mysql permission. if you are using the 'root' user, it is defaulted as only accessable from localhost.
you should use a different user anyway. here is how to do it:
- open the command prompt
- navigate to the c:\mysql\bin
mysql -uroot -p
now it will prompt you for a password. if you never setup a password, then just leave it blank and press enter.
now you should be logged in with a mysql prompt. here you can create a new user who can access the database from anywhere. we will name this user 'sam' and the password 'pass'
type this in the mysql command line:
GRANT ALL PRIVILEGES ON *.* TO sam@'%' IDENTIFIED BY 'pass';
caution though, this will give sam access to administrative privileges too. from any host.
hth