• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1019
  • Last Modified:

DB2 on Mac

Hi,

I have a Macbook Air. I wanted to create a java application on my machine using a DB2 database. Is there any way I can install DB2 on my Mac.

I read up somewhere and I learnt that IBM has DB2 -C Express for Mac. I tried installing that but I have no idea if the installation worked correctly. The installation did not show any error but I dont see DB2 anywhere on my system :). Any pointers?

Thanks in advance for any assistance.

Regards
Ali.
0
bhagatali
Asked:
bhagatali
  • 2
  • 2
1 Solution
 
Kent OlsenData Warehouse Architect / DBACommented:
Hi bhaqatali,

DB2 for the Mac is pretty new.  Think of yourself as a pioneer.  :)

Check to see if there are any tasks running with 'db2' or 'DB2' as part of the name.  There should be several.

If so, sign on with the same user that you used to install db2.  (Other users can use this installation of db2, but that user should have it's profile set up from the install process.)

Run the command 'db2'.  If it works, you're good to go.


Kent
0
 
bhagataliAuthor Commented:
Hi Kent,

I had installed db2 using the root profile. I am pretty new at Mac so having a little trouble following some of the installation instruction. The instruction asked me to use db2fs after the installation completes. Any idea how I do that? Also, when you say run the command "db2", do you mean run it from the "Terminal". If yes, from which folder/directory do I run that from.

Thanks for your help.

Regards
Ali.
0
 
Kent OlsenData Warehouse Architect / DBACommented:
Hi Ali,

It's a little unusual to install DB2 from root on unix based operating systems.  MAC/OS may be different, I don't know.

db2fs is the program that initializes a lot of the DB2 environment/installation.  The name, like almost all db2 programs, starts with 'db2' and continues with the rest of the name consisting of the first letter of the program's real name.  In this case, 'db2fs' is the program name for 'db2 first steps'.

You should run that from root.  On other systems it requires that a GUI environment be present.  It generally requires the Java Runtime Engine and specific shared libraries, too.  

Try to run db2fs from root.  If any of the prerequisites are missing, an error message should point you in the right direction.


Kent
0
 
bhagataliAuthor Commented:
Thanks for your help.
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now