![]() | |
#11
| |||
| |||
|
|
On 15 Feb, 23:07, Mladen Gogala <n... (AT) email (DOT) here.invalid> wrote: On Mon, 15 Feb 2010 11:33:40 -0800, joel garry wrote: Have you set things up so someone can connect remotely as sys there? Connecting locally merely means the local user has group rights. The OP has asked the same question on the DBI group and Jared Still, of the "Perl for an Oracle DBA" fame, has given him the same answer I did... --http://mgogala.byethost5.com Hi Guys, I am the OP and actually I have only asked the question on this group. I kind of thought the answer lies in the Oracle world, hence my posting in this group. I guess I did not phrase the question very well. The problem is that I have a selection of scripts that dont like *"sys as sysdba" as a username. Dont know why *and I dont want to mess with the scripts. What I need is a username of one word (not three that makes the scripts barf) that has the powers to create tablespaces and users in a database that I created with dbca. Maybe that is possible? If so please help me. Thanks for your input so far! Syd |
#12
| |||
| |||
|
|
Hi Guys, I am the OP and actually I have only asked the question on this group. I kind of thought the answer lies in the Oracle world, hence my posting in this group. I guess I did not phrase the question very well. The problem is that I have a selection of scripts that dont like *"sys as sysdba" as a username. Dont know why *and I dont want to mess with the scripts. What I need is a username of one word (not three that makes the scripts barf) that has the powers to create tablespaces and users in a database that I created with dbca. |
|
Maybe that is possible? If so please help me. Thanks for your input so far! Syd |
#13
| |||
| |||
|
|
Hi Guys, I am the OP and actually I have only asked the question on this group. I kind of thought the answer lies in the Oracle world, hence my posting in this group. I guess I did not phrase the question very well. The problem is that I have a selection of scripts that dont like "sys as sysdba" as a username. Dont know why and I dont want to mess with the scripts. What I need is a username of one word (not three that makes the scripts barf) that has the powers to create tablespaces and users in a database that I created with dbca. Maybe that is possible? If so please help me. Thanks for your input so far! Syd |
#14
| |||
| |||
|
|
Syd, what are you actually trying to do? Logging in as SYS is normally done to shut down or start up the database. There are very few things that require the SYSDBA privilege. The only exception to the rule is using the X$ tables but not even that should be done carelessly. Reading some of the X$ tables can greatly increase latch activity and severely impact the system. Starting and stopping database from a Perl script is a very unusual choice and should be reconsidered very carefully. |
|
What I need is a username of one word (not three that makes the scripts barf) that has the powers to create tablespaces and users in a database that I created with dbca. |
#15
| |||
| |||
|
|
If he requires a login to a database that can create users, tablespaces and what-have-you, the SYSTEM login is all that he needs to use, rather than "SYS AS SYSDBA". |
#16
| |||
| |||
|
|
I agree. But than again, there are many things better than a Perl script for doing things like that, sqlplus and SQL*Developer, to name two. There is also this amphibian thingy, popular for reasons beyond my comprehension and many others. |
![]() |
| Thread Tools | |
| Display Modes | |
| |