If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > SQL22223N error trying to create database with DB2 Express C

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-26-11, 18:30
P4ul P4ul is offline
Registered User
 
Join Date: Jul 2011
Posts: 10
SQL22223N error trying to create database with DB2 Express C

Hello,

I am having problems trying to create a database with DB2 Express C (v9.7). I am very new to DB2, but I'll try to explain.

I already have a another version of DB2 installed on my system:

Product: DB2 Connect Enterprise Edition
Version: 8.2
Copy: DB2COPY1
Instance: DB2

I understand that it is possible to have coexistence.

Express C has seemingly installed OK on my laptop, and I am able to use the Sample Database without a problem. I created new copy DB2COPY2, and new instance DB2_01.

When I try and create a database I get the error:

SQL22223N The Instance "DB2_01" does not exist on host "host name".

This seems strange because I installed it locally as DB2ADMN.

I'm trying to create the db using Command Centre > Control Centre > Create Database.

I am very new to db2 and not that familiar with the various cmd commands and db2 terminology.

Any help much appreciated.
Reply With Quote
  #2 (permalink)  
Old 08-26-11, 21:39
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Possibly you're using Command Center from the first installation, which does not know about the new instance. If you have installed a separate set of binaries with Express-C, use Command Center from that set.
Reply With Quote
  #3 (permalink)  
Old 08-27-11, 12:12
P4ul P4ul is offline
Registered User
 
Join Date: Jul 2011
Posts: 10
@n_i. Thanks for response. How do I check that I'm using the correct set of binaries? I'm pretty sure I am because i'm starting Command Centre from the new copy in my programs menu.
Reply With Quote
Reply

Tags
db2 8, db2 9.7, db2 express-c

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On