my $dbConnectString = '(LOAD_BALANCE=on)'|| '(ADDRESS=(PROTOCOL=TCP)(HOST=myhost1)(PORT=1521 +))'|| '(ADDRESS=(PROTOCOL=TCP)(HOST=myhost2)(PORT=1521 +))'|| '(CONNECT_DATA=(SERVICE_NAME=pcipJDBC.oracle.com +))'; print "dbConnectString=$dbConnectString\n"; __END__ dbConnectString=(LOAD_BALANCE=on)
Does $dbConnectString really contain what you want? What are all those "||" operators for?
In reply to Re^3: Oracle 10g Database Connection Trouble
by toolic
in thread Oracle 10g Database Connection Trouble
by Photius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |