Finally tracked it down to a screwy VirtualHost config in httpd.conf. Oh how I hate Apache 🙂
The problem was that I had to symlink /var/mysql/mysql.sock to /tmp/mysql.sock
Thank you! Creating the symlink immediately fixed my problem!
I’ve done that, and I can connect to the database via the mysql command line and see all my posts. No connection via the web works though.