连接到数据库错误 [英] connection to database error

查看:80
本文介绍了连接到数据库错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在oracle中创建了一个新数据库。在此之前,我可以使用提供的scott和密码为tiger的用户名轻松处理数据库。我没有改变它的密码。那么我也无法登录在任何数据库中写我的查询。请帮我解决这个问题。我是这个Oracle的新手。所以让我清楚这个问题。在此先感谢。

i have created a new database in oracle. before that i could easily work on the database using username provided as "scott" and password as "tiger". i have not changed its password ever . then too i am not able to login to write my queries in any of the database. please help me to resolve this problem. i m new to this Oracle. so make me clear about this problem. Thanks in advance.

推荐答案

您是否尝试过使用在计算机上安装数据库时输入的密码的sys或system用户... ???? br />
有几种方法可以访问数据库

1-用户名和密码

2-如果1失败则尝试在本地授权你自己
尝试使用Sql plus从同一台PC上安装数据库





Have you tried the sys or system user with the password you putted when you installed the database on your computer... ???
there are several ways to access the database
1- username and password
2- if 1 failed then try to authorize your self locally
try to login from the same pc the database installed in
by using Sql plus

SQL*Plus: Release...

SP2-0640: Not connected
sql> connect / as sysdba
Connected

SQL> select * from scott.employees ;





3-由操作系统管理员的权限提供相同的Windows管理员用户名和密码,例如



3- by the privileges of the OS administrator same username and password of the windows administrator for example


这篇关于连接到数据库错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆