PHP and MySQL problems as of 10.3.9


thinking is design
After I upgraded to 10.3.9, I suddenly have problems with PHP and MySQL. Any of my PHP scripts using sessions display this error:

Warning: session_start(): open(/tmp/sess_f9967256b0a89b27d9405048fa1f846a, O_RDWR) failed: Permission denied (13) in /Users/aurelius/Sites/projects/aion/01/app_session_start.php on line 3

And I can't connect to MySQL either. If I'm trying from a MySQL GUI, I just get 'can't connect' errors, and if I try to run mysql from the command line, it says:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

It was all fine before the upgrade, then it all suddenly stopped working. Anybody know what's going on or how to fix this?