Re: Cannot select DB.
THE PROBLEM: When running the install.php file, you get a “Cannot select DB.” error. On the Mac OS X 10.4.x intstallation, php works, mysql works, but php cannot access mysql databases.
THE SOLUTION: Change the line
define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
define(‘BBDB_HOST’, ‘localhost:/tmp/mysql.sock’); // 99% chance you won’t need to change this value
Then it works. There are other solutions to this problem, but this is the simplest and does not change the configuration of your system. It seems like mysql.sock has changed directories in one of the Tiger (10.4) updates.
I hope this helps someone.