Need more info, like exactly how you're checking whether mysql works or not. But from your message you're apparently running into chroot issues:
http://www.openbsd.org/faq/faq10.html#httpdchroot On Sat, Aug 17, 2013 at 8:52 PM, Guy Ferguson <[email protected]>wrote: > Hello, > > First time user of OpenBSD here. Having issues getting mysql up and running > > Can I ask you to confirm that in OpenBSD 5.3 mysql.sock should be being > created in /var/run/mysql or in /var/mysql? > > This page > ( > http://www.openbsd.org/cgi-bin/cvsweb/ports/databases/mysql/Makefile?rev=1.217;content-type=text%2Fx-cvsweb-markup > ) > seems to tell me it should be in /var/run/mysql. > > yet I have just installed OpenBSD 5.3 and there's no mysql directory in > /var/run. The mysql.sock appears in /var/mysql > > Apologies if it's a silly question, but it's preventing me getting my > drupal site up and running on this server - all else works well but i > can't get mysql to connect.... > > I've installed php 5.2.17p13 and mysql-server-5.1.68 > > If it helps i've made a (small) donation: > Confirmation number: 9T459158LW9701138 > > Thanks, > > Guy > Brisbane Australia > (When I get it all up and running i will send you the log of my > sysconfig for your records, as i read somewhere you like to receive)

