I don't know much about running php/mysql under OpenBSD but I found a
tutorial that recommends making a new hard link to the place where
apache can see the file.
http://freeyourbox.org/tutorials/bsd/obsd3.8_apache_php_mysql.html#Setting
that says:
On OpenBSD, apache comes chrooted in the /var/www directory. MySQL's
default socket location is in /var/run/mysql/mysql.sock. This causes a
problem since apache can't "see" the /var/run directory. To overcome
this, we need to make a hard link to the mysql.sock socket file. This
is achieved by typing the following at the command prompt:
# mkdir -p /var/www/var/run/mysql
# ln -f /var/run/mysql/mysql.sock /var/www/var/run/mysql/mysql.sock
Paul
Post by Brad MortonBeen working on setting up the new and improved Citrusdb on spare box we have here.
OS: OpenBSD 5.0
Mysql-5.1.54
PHP-5.3
Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
Not sure where to go with this. Not really a guru with this stuff.
Any help would be great,
Cheers
Brad
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
--
The CitrusDB Project | http://www.citrusdb.org
Open Source Customer Care & Billing System