1 (edited by nenbob 2005-08-04 06:00)

Topic: Installing PunBB on Mac OS X Server

I currently discovered that MySQL socket has been changed from /tmp/mysql.sock to /var/mysql/mysql.sock for security reasons.

Is there any way to modify PunBB to connect to /var/mysql.sock instead of /tmp/mysql.sock?

Re: Installing PunBB on Mac OS X Server

While I have not found a solution to the issue I did find a work around. Just changing the socket to the old address in my.cnf. But Now I get a authentication error in the protocol this is basically due to the fact that I am using the new hashing passwords. Will PunBB support these new passwords in 1.2.7 or later?

Re: Installing PunBB on Mac OS X Server

This really has nothing to do with PunBB. Where the "socket file" is located is a MySQL configuration issue and the authentication protocol has to do with the MySQL library used in your PHP.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Installing PunBB on Mac OS X Server

Thanks for the information. I have already fixed the issue though.

Re: Installing PunBB on Mac OS X Server

I'm new to punBB and I'm also trying to install in Mac OS X 10.4.6 Server. I think that I'm getting the same error message you mention when trying to setup the forum for the first tiime.

What did you do to solve this program?

Re: Installing PunBB on Mac OS X Server

I simply reconfigured MySQL.

I created a my.cnf file in /etc with the setting to load the socket to /tmp/mysql.sock

You can find examples in /usr/share/mysql/