I am new in both mac and perl programming. I have done what you said, however the ~/.bash_profile, i wasn't sure where to find it. and also after installing mysql when i run my perl program i get the following error. i would appreciate any help in advance.

dyld: lazy symbol binding failed: Symbol not found: _mysql_init
Referenced from: /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
Expected in: flat namespace

dyld: Symbol not found: _mysql_init
Referenced from: /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
Expected in: flat namespace

Trace/BPT trap: 5