How to access Oracle database over network? -


i trying accessing oracle database on network. have google lot , found many solutions, doesn't work me.

the problem that, want access oracle database 1 computer computer on local network.

what did is....

  1. i found solution modify listener.ora file

(description=(address=(protocol=tcp)(host=dbp.devproject.com)(port=1521)))

when modify file , tried run , access database nothing happens, , throws error, port number have specified used listener, have changed port number not able access database. 2. have configure new listener of oracle's tool net manager, made listener me, not make accessible database on network.

here required results.

  1. lsnrctl status : listener using listener name listener has been started.
  2. connection string : jdbc:oracle:thin:@dbp.devproject.com:4541:mydb
  3. database version :
    1. oracle database 11g enterprise edition release 11.2.0.1.0 - 64bit production
    2. pl/sql release 11.2.0.1.0 - production
    3. core 11.2.0.1.0 production
    4. tns 64-bit windows: version 11.2.0.1.0 - production
    5. nlsrtl version 11.2.0.1.0 - production

status shows me this.

connecting (description=(address=(protocol=ipc)(key=extproc1521)))

status of listener

alias : listener

version : tnslsnr 64-bit windows: version 11.2.0.1.0 - production

start date : 14-may-2015 11:58:05

uptime : 0 days 2 hr. 29 min. 50 sec

trace level : off

security : on: local os authentication

snmp : off

listener parameter file : product\11.2.0\dbhome_1\network\admin\listener.ora

listener log file : \listener\alert\log.xml

listening endpoints summary...

1. (description=(address=(protocol=ipc)(pipename=\\.\pipe\extproc1521ipc))) 2. (description=(address=(protocol=tcp)(host=127.0.0.1)(port=1521))) 

someone please me. help..

whenever sufering kind of errors while creating remote access database, following things before.

  1. create listener using net manager tool of oracle or create manually.
  2. after generating listener, check out "listener.ora" [located : oracle_installed_dir\product\11.2.0\dbhome_1\network\admin] file, entry. (is there entry listener have created before. if found entry , next steps otherwise first step.)
  3. if found entry listener, open command prompt , fire command lsnrctl status. give running listeners list, find out 1 created before.
  4. check out host name , port number listener.
  5. generate connection string per details found in lsnrctl status
  6. connect database, , can access database anywhere in network.

enjoy things, challenges needs afforts, once fall it, never solved.

i thankful guys answered , commented question, material made challenge easy..

thank @alex, @ lalit, @teng , @s.krishna thank guys.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -