PHP on Mac OS X is really not any different than running PHP on any other *nix based system.
Upgrading to PHP 5.3
#2000 - mysqlnd cannot connect to MySQL 4.1+ using old authentication
make sure you do the following BEFORE upgrading:
SET PASSWORD FOR ‘root’@'localhost’ = PASSWORD(‘rootpwd’);
uncomment and set this line: