473,387 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Viewing available databases with password and username

I am new Sql Plus

Want to know the command for viewing databases avaialble using default password and username on my co. server.. (example : dir command for viewing files) help me.
Oct 17 '07 #1
14 1460
debasisdas
8,127 Expert 4TB
To view the database in the server ,you need to login first to the server using
user name,password and connection string.
Oct 17 '07 #2
debasisdas
8,127 Expert 4TB
You can use the following code for selecting the name of the database to which you are connected.

Expand|Select|Wrap|Line Numbers
  1.  select name from v$database;
but normal users don't have the previliges to select form the above mentioned table.
Oct 17 '07 #3
Thanks for your reply,

but it says

SELECT name FROM v$database
*
ERROR at line 1:
ORA-00942: table or view does not exist

what to do ?

actually i used the scott/tiger and connected ? is this correct
Oct 18 '07 #4
debasisdas
8,127 Expert 4TB
but normal users don't have the previliges to select form the above mentioned table.
I have already told you that.

ask your DBA to grant you the required priviliges.
Oct 18 '07 #5
amitpatel66
2,367 Expert 2GB
You can also try:

Expand|Select|Wrap|Line Numbers
  1. select instance_name from v$instance
  2.  
It will give you the instance name you have logged in to. But again you might need privileges to run the above query!!
Oct 18 '07 #6
Sir,

My DBA is not helping me, trying to hide everything... because i am new comer to the company... i am skilled in hardware and accounts as well as implementing/installing (i installed oracle for my own to my machine) and trouble shooting software. thorogh knowledge in erp modules.. i capture erp password. now want to do backend work through sql plus.

i find the server name and user name, but i dont know the password... how to bye pass it.. help me.

now i am connecting through scott/tiger as user name and password to my server.. it also connecting to the server after that it shows one file name called login if i use desc command it show the all fields, but not showing my related databases...

i find the user name called "system" but unable to find the password... how can i achieve any possibilities are there? help to climb me up. if i get the password i along climb myself.. show me the way please.
Oct 19 '07 #7
debasisdas
8,127 Expert 4TB
Sir,

My DBA is not helping me, trying to hide everything... because i am new comer to the company... i am skilled in hardware and accounts as well as implementing/installing (i installed oracle for my own to my machine) and trouble shooting software. thorogh knowledge in erp modules.. i capture erp password. now want to do backend work through sql plus.

i find the server name and user name, but i dont know the password... how to bye pass it.. help me.

now i am connecting through scott/tiger as user name and password to my server.. it also connecting to the server after that it shows one file name called login if i use desc command it show the all fields, but not showing my related databases...

i find the user name called "system" but unable to find the password... how can i achieve any possibilities are there? help to climb me up. if i get the password i along climb myself.. show me the way please.
Don't try to access anything for which you don't have permission.

It seems you are trying to hack somthing .

I am really sorry i can't help you in this case.

This is strictly against forum Rules.
Oct 19 '07 #8
Sir,

You are mistaken it seems.. challenging the newcomers like me ends to find the help of forum... i never tried to hatch anything.. somebody (juniors) whose is senior level playing as selffish... i dont know how to make u trust on me.. anyway thanks for your comments.

Even i had my superior (CFO) letter regarding this with me as a proof... how can i send u ?
Oct 22 '07 #9
amitpatel66
2,367 Expert 2GB
Sir,

You are mistaken it seems.. challenging the newcomers like me ends to find the help of forum... i never tried to hatch anything.. somebody (juniors) whose is senior level playing as selffish... i dont know how to make u trust on me.. anyway thanks for your comments.

Even i had my superior (CFO) letter regarding this with me as a proof... i can i send u
Hi,

In case if you really need access to some database instances/data dictionary views, then you can of course raise a request with your higher level managers who would help you getting the access rights/privileges.

No company will ask you to work without giving you privileges if it is worth to be given and is a part of your requirement!!
Oct 22 '07 #10
amitpatel66
2,367 Expert 2GB
Sir,

Even i had my superior (CFO) letter regarding this with me as a proof... how can i send u ?
Do you mean your supervisor have given you rights to hack the password of the database in any way by hook or cook??
Oct 22 '07 #11
You are correct. Even i have authorisation letter.. the fellow sitting above is the only person and treating himself as a monopoly.. and not interested to share is level.. thanks anyway i will sort it out with my superiors and get the privileges and come to forum for help. thank you.. definitely i will be back...
Oct 22 '07 #12
Do you mean your supervisor have given you rights to hack the password of the database in any way by hook or cook??
again mistaken.. i got authorise to share the works of DBA.. since it is a group of companies.. that fellow is from other entity from the group holding uppper hands.. even top officials not aware of erp and sqls.. day to day work going as usual..
Oct 22 '07 #13
amitpatel66
2,367 Expert 2GB
You are correct. Even i have authorisation letter.. the fellow sitting above is the only person and treating himself as a monopoly.. and not interested to share is level.. thanks anyway i will sort it out with my superiors and get the privileges and come to forum for help. thank you.. definitely i will be back...

You are always welcome to TSDN with any kind of technical issues. We will help you out!!

Thanks!!
Oct 22 '07 #14
You are always welcome to TSDN with any kind of technical issues. We will help you out!!

Thanks!!
Even my company is searching for good free lance oracle person to alter the program and to train peoples...

if u have any idea to suggest mail me mail id removed
Thanks!! and warm regards,
kmpathy
Oct 22 '07 #15

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: lawrence | last post by:
In the code below, the mysql_connect commands work correctly (though I've changed the passwords here). I get the "We were able to establish a connection" message. But then the code hangs and does...
6
by: Lou | last post by:
Please can someone put me out my misery! Im trying to find a multiple user/password protection script that will redirect the specific user to a specific directory. At the moment I have set up...
1
by: Kristen | last post by:
Hi, I'm not sure if this can be done or not but here goes... I write an application that uses Access and an MDW file to control who can open the database. Right now I have a bunch of different...
7
by: Oenone | last post by:
Sorry for the cross-post but I've really no idea where this is best suited. I've an ADO.NET application which connects to a SQL Server database. I have spent the entire morning trying to get it...
3
by: John Salerno | last post by:
Hi everyone. I just installed MySQL on my home PC and I tested out the show databases query, and it lists two: information_schema bbdatabank The second one is one I created myself, but I...
10
by: Sridhar | last post by:
HI, I am having problems setting up a website so that it will be available only inside the domain. We have three servers. One is iis server and second one is internal server and the third one is...
5
by: Odd Bjørn Andersen | last post by:
I have installed DB2 9 Enterprise Edition on my laptop and created the sample database. Now I'm having truble connecting to the database from Command Editor. If I connect from Command Window it's...
3
by: tom.youdan | last post by:
Hi, I have created a database that is used to store contact information for NGO's accross India. It is simple in structure and I want a portion of the data to be viewable on the Internet. I...
2
by: runway27 | last post by:
i am building a registration page where a user register for a username. i am able to insert this into mysql. the situation is every time data is inserted into example table1 in mysql in database1 for...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.