Feb 10, 2001, 10:08 PM
Post #2 of 2
The connection parameters depend which database server you're connecting to (IE MySQL, Oracle...). The host is part of the DSN. I connect "remotely" (both machines are with the same host provider) with:
|Yes, they run it on the NNTP server. Keep in mind that the connection between your script host and the database server host will not be secure, so I wouldn't use it to store any sensitive data.
$dbh = DBI -> connect("DBI:mysql:databasename:nntp.pinc.com", "username", "password", \%attr)
>> If you can't control it, improve it, correlate it or disseminate it with PERL, it doesn't exist!