Re: Database not defined?
Seems like PEAR directory is not in the include_path in php.ini.
You should have a look into :
http://tikiwiki.org/InstallTikiTroubleShootingDoc
Look for :
How to check if not finding PEAR is the problem.
Hope this helps