You might want to try this on your mysql server, might be a grant
permission issue.
1. GRANT ALL PRIVILEGES ON *.* TO [EMAIL PROTECTED] IDENTIFIED BY "PASSWORD";
2. FLUSH PRIVILEGES;
3. exit.
Tor Hildrum wrote:
On Mon, 13 Dec 2004 17:55:12 +0500, Adam Saeed <[EMAIL PROTECTED]> wrote:
I have written a simple program that should get data from a remote
database, but it is not working giving error:
DBI->connect(sugs:192.168.14.2) failed: Host 'www.sample.com' is not
allowed to connect to this MySQL server at testbug.pl line 12
Are you sure this is a perl problem and not a mysql problem? Try
connecting to it remotely from the same host using mysql(not trough
perl). You should get the same error.
I believen you want to look at the MySQL GRANT command.
Tor
--
JD Durick
Senior INFOSEC Engineer
The MITRE Corporation
Work: (703) 883-5543
GPG: 466B D540 71CA BBA3 F1DF 3881 08D4 8448 780A 29C0
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>