Forum Stats

  • 3,872,599 Users
  • 2,266,457 Discussions
  • 7,911,262 Comments

Discussions

Login to oracle db using nodejs as sysdba

e7cdd8c5-e665-4ff9-aece-14656423a795
edited Feb 11, 2016 1:47AM in Node.js

I am working on nodejs oracledb.I would want to login to oracle db from nodejs oracledb client asSYSDBA.Please suggest

Below is the snippet which am trying

<span class="pln" style="color: #000000;">oracleSYS3</span><span class="pun" style="color: #000000;">.</span><span class="pln" style="color: #000000;">getConnection</span><span class="pun" style="color: #000000;">({</span><span class="pln" style="color: #000000;"> user  </span><span class="pun" style="color: #000000;">:</span><span class="str" style="color: #800000;">"sys"</span><span class="pun" style="color: #000000;">,</span><span class="pln" style="color: #000000;"> password  </span><span class="pun" style="color: #000000;">:</span><span class="str" style="color: #800000;">"*******"</span><span class="pun" style="color: #000000;">,</span><span class="pln" style="color: #000000;"> connectString </span><span class="pun" style="color: #000000;">:</span><span class="str" style="color: #800000;">"connectionString"</span><span class="pun" style="color: #000000;">},</span><span class="kwd" style="color: #00008b;">function</span><span class="pun" style="color: #000000;">(){})</span><span class="pln" style="color: #000000;"> </span>

But I'm getting an error:

ORA-28009: connection as SYS should be as SYSDBA or SYSOPER

Tagged:
bidimensional

Best Answer

Answers