装好了 10 g后, 初次使用1  cmd 在运行中
   进入  命令行提示状态下
2  先输入: sqlplus/nolog
3  再输入: conn system/manager as sysdba 
   提示 "已连接到空闲例程"
但是 从开始菜单,选择,应用开发,进入 SQL PLUS时,提示一个登陆狂,
 输入 用户名和密码 后怎么也登陆不上 一个界面,一闪而过, 也不知道提示的是啥玩意咋整的呢?

解决方案 »

  1.   


    可选择角色了?sysdba
    normal
      

  2.   

    楼主具体是如何输入的呢
    我刚才去看了下
    我的登录是正常的
    username
    password
    host string
    这三个栏位你都是这么填写的
      

  3.   

    username   system
    password   manager
    host string  as sysdba  (这个似乎不对), 试过主机名,也试过 IP 127.0.0.1 等
    这三个栏位你都是这么填写的发现似乎没有 DB2 好使用啊,, DB2 ,我装好了,啥书也没看,就建立个数据库,并加了个表
    视窗 和 命令行方式都可以 查询到数据。
    这个ORACLE 10 g 怎么这么麻烦呢????7,8 年前玩过 9i的,,感觉也很容易就使用起来了嘛
    越做越麻烦了嘛
      

  4.   

    主机字符串要填你的sid
    不知道的话可以到注册表中查看,或者network/admin/tnsnames.ora文件里查看
      

  5.   

    SQL PLUS 即使输入不全的话,也不会一闪而过吧;
    只输入用户名和密码,默认连接本机数据库
      

  6.   

    C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\SAMPLE
    下的 tnsnames.ora 文件内容# The following is the general syntax for any entry in 
    # a tnsnames.ora file. There could be several such entries 
    # tailored to the user's needs.<alias>= [ (DESCRIPTION_LIST =  # Optional depending on whether u have 
    # one or more descriptions
    # If there is just one description, unnecessary ]
      (DESCRIPTION=
        [ (SDU=2048) ] # Optional, defaults to 2048
    # Can take values between 512 and 32K
        [ (ADDRESS_LIST=    # Optional depending on whether u have
    # one or more addresses
    # If there is just one address, unnecessary ]
          (ADDRESS=
    [ (COMMUNITY=<community_name>) ] 
    (PROTOCOL=tcp)
    (HOST=<hostname>)
    (PORT=<portnumber (1521 is a standard port used)>)
          )
          [ (ADDRESS=
      (PROTOCOL=ipc)
      (KEY=<ipckey (PNPKEY is a standard key used)>)
    )
          ]
          [ (ADDRESS=
      [ (COMMUNITY=<community_name>) ]
      (PROTOCOL=decnet)
      (NODE=<nodename>)
      (OBJECT=<objectname>)
    )
          ]
                  ... # More addresses
        [ ) ] # Optional depending on whether ADDRESS_LIST is used or not 
        [ (CONNECT_DATA=
    (SID=<oracle_sid>)
    [ (GLOBAL_NAME=<global_database_name>) ]
          )
        ]
        [ (SOURCE_ROUTE=yes) ]  
      )
      (DESCRIPTION=     
        [ (SDU=2048) ] # Optional, defaults to 2048
    # Can take values between 512 and 32K
        [ (ADDRESS_LIST= ] # Optional depending on whether u have more
    # than one address or not
    # If there is just one address, unnecessary
          (ADDRESS
    [ (COMMUNITY=<community_name>) ]
    (PROTOCOL=tcp)
    (HOST=<hostname>)
    (PORT=<portnumber (1521 is a standard port used)>)
          )
          [ (ADDRESS=
      (PROTOCOL=ipc)
      (KEY=<ipckey (PNPKEY is a standard key used)>)
             )
          ]
          ...  # More addresses
        [ ) ]  # Optional depending on whether ADDRESS_LIST  
    # is being used
        [ (CONNECT_DATA=
    (SID=<oracle_sid>)
    [ (GLOBAL_NAME=<global_database_name>) ]
          )
        ]
        [ (SOURCE_ROUTE=yes) ]
      )
      [ (CONNECT_DATA=
          (SID=<oracle_sid>)
          [ (GLOBAL_NAME=<global_database_name>) ]
        )
      ]
      ...   # More descriptions 
    [ ) ] # Optional depending on whether DESCRIPTION_LIST is used or not
    似乎没设置 楼上说的 SID 啊,, 我在主表里没有找到也要不给个 9i的下载地址 
      

  7.   

    我host string里填写自己的SID
    或者空着不填都可以连进去的
      

  8.   


    是指的isqlplus么? 10g已经没有应用程序式的isqlplus叻。 你可以用sqlplus或者plsql dev。或者是启动isqlplus服务,通过web的方式访问。
      

  9.   

    3  再输入: conn system/manager as sysdba 
      提示 "已连接到空闲例程" 表示数据库实例还没有启动,你得先启动实例啊