P U R E B S D 
OpenBSD and FreeBSD resources 
  /root | OpenBSD | FreeBSD
   >>  Main | System | Network | Daemons | Security | Software | Various

Sections  

DJBDNS  
Qmail  
NTP  
DHCP  
ProFTPD  
Apache  
CVS server  

MySQL  
MySQL and OpenBSD

A tip.

After installation of MySQL, you should edit the file /usr/local/bin/safe_mysqld:
Look for the line with a #-sign in front of ulimit -n 256. Remove that comment token and MySQL has some room to breathe.

Explanation: by default, a user is permitted to open only 64 files at a time. When you are greedy and want more, you should execute a ulimit -n 256 for instance. The MySQL binary package in de OpenBSD packages directory does not raise its limit of 64 files by default, so it runs out of file descriptors rather fast, leading to strange, seamingly inconsistent, errors.
 

Contact | Feedback | License | Copyright © 2000,2001,2002,2003,2004,2005,2006 PureBSD.com
All rights reserved.
simonpam@purebsd.com