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

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to