<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: DBD::Oracle 1.23 Released</title>
	<atom:link href="http://www.pythian.com/news/2273/dbdoracle-123-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/2273/dbdoracle-123-released/</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Thu, 11 Mar 2010 04:53:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Newbie01</title>
		<link>http://www.pythian.com/news/2273/dbdoracle-123-released/#comment-404161</link>
		<dc:creator>Newbie01</dc:creator>
		<pubDate>Tue, 09 Feb 2010 20:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2273#comment-404161</guid>
		<description>Hi John,

Thanks for the update, tried that and a similar example from CPAN as below:

$dsn = &quot;dbi:Oracle:&quot;;
$ENV{ORACLE_SID} = &quot;orcl&quot;; 
delete $ENV{TWO_TASK};

$dbh = DBI-&gt;connect($dsn, &quot;&quot;, &quot;&quot;, { ora_session_mode =&gt; ORA_SYSDBA });

Both gives core dump. Anyway, I&#039;ll try on a separate Perl install, maybe I need an updated module. Can&#039;t re-install the DBI module as am not the SA for the box. 

I&#039;ll post it in a Perl Beginner forum maybe someone can already confirm whether it work or does not.

FYI, am testing this local on the server where the Oracle DB is where sqlplus / as sysdba works.

Thanks again for the update.</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Thanks for the update, tried that and a similar example from CPAN as below:</p>
<p>$dsn = &#8220;dbi:Oracle:&#8221;;<br />
$ENV{ORACLE_SID} = &#8220;orcl&#8221;;<br />
delete $ENV{TWO_TASK};</p>
<p>$dbh = DBI-&gt;connect($dsn, &#8220;&#8221;, &#8220;&#8221;, { ora_session_mode =&gt; ORA_SYSDBA });</p>
<p>Both gives core dump. Anyway, I&#8217;ll try on a separate Perl install, maybe I need an updated module. Can&#8217;t re-install the DBI module as am not the SA for the box. </p>
<p>I&#8217;ll post it in a Perl Beginner forum maybe someone can already confirm whether it work or does not.</p>
<p>FYI, am testing this local on the server where the Oracle DB is where sqlplus / as sysdba works.</p>
<p>Thanks again for the update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Scoles</title>
		<link>http://www.pythian.com/news/2273/dbdoracle-123-released/#comment-389301</link>
		<dc:creator>John Scoles</dc:creator>
		<pubDate>Mon, 30 Nov 2009 19:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2273#comment-389301</guid>
		<description>it might but I have never tried it myself.

I should be as simple as 

&lt;pre&gt;
use DBD::Oracle qw(:ora_session_modes);
$dbh = DBI-&gt;connect($dsn, &quot;&quot;, &quot;&quot;, {ora_session_mode =&gt; ORA_SYSDBA });
&lt;/pre&gt;

However Sysdba is usually disabled for anything but a &#039;local&#039; user.  Perhaps this is your problem.

cheers</description>
		<content:encoded><![CDATA[<p>it might but I have never tried it myself.</p>
<p>I should be as simple as </p>
<pre>
use DBD::Oracle qw(:ora_session_modes);
$dbh = DBI-&gt;connect($dsn, "", "", {ora_session_mode =&gt; ORA_SYSDBA });
</pre>
<p>However Sysdba is usually disabled for anything but a &#8216;local&#8217; user.  Perhaps this is your problem.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edwin</title>
		<link>http://www.pythian.com/news/2273/dbdoracle-123-released/#comment-388721</link>
		<dc:creator>Edwin</dc:creator>
		<pubDate>Sat, 28 Nov 2009 06:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2273#comment-388721</guid>
		<description>Hi,

Can you please confirm whether using DBI/DBD and connnecting &quot;/as sysdba&quot; work or does not work?

Am referring to one where you it can be invoke as similar to as if you are doing sqlplus &quot;/as sysdba&quot;.

Using DBI with username as password and SYSDBA works, but I tried some example where you do not need to specify username and password and ora_session_mode and ORA_SYSDBA but this does not seem to work.

Any confirmation on whether this is possible or not will be very much appreciated. Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Can you please confirm whether using DBI/DBD and connnecting &#8220;/as sysdba&#8221; work or does not work?</p>
<p>Am referring to one where you it can be invoke as similar to as if you are doing sqlplus &#8220;/as sysdba&#8221;.</p>
<p>Using DBI with username as password and SYSDBA works, but I tried some example where you do not need to specify username and password and ora_session_mode and ORA_SYSDBA but this does not seem to work.</p>
<p>Any confirmation on whether this is possible or not will be very much appreciated. Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
