From: Dan <[EMAIL PROTECTED]>
> I can connect... on the same computer
> ...different machine it won't work.
I suspect that you need to add an entry at the MySQL host for the machine that you are
connecting from. This can be done with a GRANT statement:
- Format:
grant all privileges on databaseName.tableName
to 'userName'@'hostName'
identified by 'somePassword';
- Example:
grant all privileges on myDB.*
to 'clyde'@'coolPlace.org'
identified by 'secretPass';
Then you'll need to reload the access privileges. It can be done at the command line
like this:
% mysqladmin -u rootUserName reload
Remember, you may need to add the -p switch and suply a password for this command.
Is this enough info?
---
Rodney Broom
Programmer: Desert.Net
Spam filter: sql database
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php