Directadmin

/usr/libexec/ld-elf.so.1: Shared object libm.so.2 not found, required by my_print_defaults

Some new FreeBSD systems use a newer version of libm.so, so just create a symbolic link back to libm.so.2:

ln -s libm.so.3 /lib/libm.so.2

If you do have this error, then likely the mysql install process also didn’t work correctly.  To reinstall mysql (after making the symbolic link above, type:

cd /usr/local/directadmin/scripts
killall -9 mysqld
killall -9 mysqld_safe
./mysql.sh somerootpass da_admin someadminpass

If prompted to overwrite the data, hit ‘y’ (yes).  The values of the 2 passwords isn’t too important, just as long as you remember them.  You’d only ever need to know them if you need to login to mysql manually to fix something.  The da_admin login/pass can always be found in /usr/local/directadmin/conf/mysql.conf.