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 On Wed, Jan 11, 2012 at 11:23 AM, Brad Morton <bmor...@reztel.net> wrote: > Been 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 > > I'm getting close, the login page comes up but at the top it says the > following: > 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 > Citrusdb-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/citrusdb-users -- The CitrusDB Project | http://www.citrusdb.org Open Source Customer Care & Billing System ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Citrusdb-users mailing list Citrusdb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/citrusdb-users