Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Network Adapter could not... Any hint on what i missed?

Re: Network Adapter could not... Any hint on what i missed?

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Fri, 28 Jun 2002 07:05:55 +0200
Message-ID: <khrnhuoknvi6cjk9e2bnqhr814mrugd8kp@4ax.com>


On Fri, 28 Jun 2002 01:41:30 +0200, "Konrad Den Ende" <konrad_at_voxway.com> wrote:

>I get this error:
>SQLException: I/O-Error: The Network Adapter
>could not establish the connection
>
>What i got is:
>String url = "jdbc:oracle:thin:MyOwnDataBase";
>Connection conn = DriverManager.getConnection (url, "root", "code");
>
>I have installed Oracles OC4J and according to the test it's supposed
>to be initiated. The code is OK too.
>
>Am i suppose to CREATE the database MyOwnDataBase BEFORE i try
>to create that connection? How do i create that DB?
>
>I appreciate all help so don't hesiate :)

Question: did you ever see jdbc code to create a database? So is this a rhetorical question, or did you do just not any RTM. You need to use the database assistant to create a database. Usually that is an option during installation of the database sw.

Regards

Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address Received on Fri Jun 28 2002 - 00:05:55 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US