Can't connect to local MySQL server through socket '/tmp/mysql.sock' error

Mac OS X 10.4.10PHP 5.2.1MySQL 5.1I've been working on my localhost with Drupal 5.1 successfully; I get the above error message during the installation process on Drupal 6 beta. The MySQL socket on my local server (which is working fine) is '/var/mysql/mysql.sock'; the installation is looking for '/tmp/mysql.sock' and fails, generating the Can't connect to local MySQL server through socket '/tmp/mysql.sock' error message.I've moved the 5.1 Drupal files to a different folder for the Drupal 6 installation; when I move them back, everything works fine, so it's not the server instance.I've tried adding the following line to the default.settings.php file in the "PHP Settings" section (this is from another post; I am not a coder):ini_set('mysql.default_socket', '/var/mysql/mysql.sock');to no avail.It took me forever to originally get the local server working (frankly, I don't know how I did it) and I doubt I could even go back and mess with the system files. Is there a way to modify any of the installation files to properly point to my server instance, like 5.1 does? Thank you any and all for your help and patience - all you guys are so far beyond me it's not funny.-billybcobin - at - icrmedia.com

Advertising