in reply to msgget, msgsnd, msgrcv... AHHH

I would encourage you to provide more details in your questions. No details means it's hard to understand what you are trying to do, and therefore complicates providing a decent reply.

Specifically:
What type of database?
What are you using the database for?
What platform, Windows? Unix? Atari?

A couple hints:
The Super Search is a good place to start.
Perhaps look for information on the perl DBI.

Hope that helps a little,
-A