I'm supposed to migrate a MySQL database into IBM DB2, but I thought I'd take baby steps first before I do something like that. So for now, I'd just like to add a database.
I'll admit that I have no experience at all with IBM DB2. Here's what I did so far:
- I've installed the software, IBM Data Server Client Version 9.7 Fix Pack 7. Went without a hitch, although I must say, it appears simpler than either MySQL or MS SQL.
- I've ran Control Center under General Administration Tools. I've had to run it as administrator for it to work.
I read somewhere that the flow is System -> Instance -> Database, so I created a system with the following details:
- System Name: RNOLD-PC
- Host Name: RNOLD-PC
- Node Name: RNOLDNOD
- OS: NT
- Protocol: TCP/IP
Hitting the OK button with those details produces no error. For reference, the Computer Name of the laptop I'm using is RNOLD-PC.
I created an Instance under that with the following details:
- Instance Name: testInstance
- Instance Node Name: RNOLDNOD
- OS: NT
- Protocol: TCIP/IP
- Host Name: RNOLD-PC
- Service Name: RNOLD-PC
- (Everything else is left blank)
Clicking the Discover button near Instance Name gets me an SQL4404N error: The DB2 Administration Server does not exist, while clicking the Retrieve Button near Port Number (which I left blank) gets me a "The Service Name RNOLD-PC was not found." If I try to add a database under that Instance, it gives me the same error.
Can I have some help on this? Where do I go from here, and how do I create a database?
EDIT: I added a Port Number (12345), which then allowed me to create a database, albeit with an error:
[IBM][CLI Driver] SQL30081N A communication error has been detected. Communication protocol being used: "TCP/IP". Communication API being used: "SOCKETS".
EDIT: Additional information: - Using Windows 7 32-bit