I get the following error when trying to connect to phpbb2
Now, the default location on the Mac is "private/tmp/mysql.sock", so I moved "mysql.sock" to the location phpBB2 as looking for: "private/var/mysql/mysql.sock" and both phpBB2 and phpMyAdmin started working fine.:Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) in /Library/WebServer/Documents/phpBB2/db/mysql4.php on line 48
But, now the Mac Bash Terminal would not connect to the server with the command "mysql" like it did before (who knows what else broke), so I moved it back. I edited phpMyAdmin to find the socket in the default location: "private/tmp/mysql.sock", and it is up and working, now i need to do the same in phpBB2.
In my search for info to do this, I found a reference to setting a symbolic link from the "private/tmp" to "private/var/mysql" so I tried this in the Terminal:
ln -s private/tmp/mysql.sock private/var/mysql/mysql.sock
which gave me the link, but it apperntly is not working through the link, phpBB2 still gives me the same error.
So, I am back to editing the path in phpBB2 to find the socket in the default location.
Thanks in advance for your time
Chris
Your board's URL: None-it's local
Version of phpBB2: 2.0.63
Was this a fresh install or a(n) update/upgrade/conversion (please be specific)? Fresh Install
Did you use an automated wizard provided by your host to install phpBB? No
MODs you have installed: None
When the problem started: On Installation
Your level of expertise (be honest): low (Just enough to be dangerous)
Additionally, you may wish to provide the following (where applicable)
Template(s) used: None
Language(s) used:
Version of PHP used: 4.4.9
Database and version used MySQL 5.0
OS: Mac OSX 4.9 Bundled Apache and PHP up and running