/etc/login.conf changes:
daemon:\
:ignorenologin:\
:datasize=infinity:\
:maxproc=infinity:\
:openfiles-cur=1024:\ <--- check this one
:stacksize-cur=8M:\
:localcipher=blowfish,8:\
:tc=default:
and/or:
default:\
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/
bin:\ :umask=022:\
:datasize-max=512M:\ <--- check this one
:datasize-cur=256M:\ <--- check this one
:maxproc-max=128:\
:maxproc-cur=64:\
:openfiles-cur=1024:\ <--- check this one
:stacksize-cur=4M:\
:localcipher=blowfish,6:\
:ypcipher=old:\
:tc=auth-defaults:\
:tc=auth-ftp-defaults:
Not my business, but leave the default value alone and just create a
profile for mysql only. It will avoid you other possible problem down
the road.
man 5 login.conf
None of the example, numerous of them in the archive suggest to change
the default value, but all, or most of them anyway do suggest to make
your specific user with value you may need to fit your needs!
Don't you think there is a reason for that!?
Just a thought...
Daniel