On Thu, 1 Apr 1999, David Hanney wrote:
> Mysql works great after installing the freebsd3.1 binary package
> - if started manually.
> The problem is that it doesn't auto-start at boot.
>
> safe_mysqld seems to run without error.
> But it quits (without error) about 1 second later:
> Here is the log output:
>
> mysqld started on Thu Apr 1 11:38:05 GMT 1999
> mysqld ended on Thu Apr 1 11:38:06 GMT 1999
To clarify, if you run safe_mysql manually, it works fine, but if you run
safe_mysql as part of the bootup process, it fails.
Usually, this type of behavior in programs is caused by:
1. Bootup start and manual start are by different users with different
permissions.
2. Some facility needed by the program is not yet running. resolver,
network, file system mount, etc. Try starting mysql last at the particular
runlevel (3, I assume).
If you manually start in some way different from the bootup start, e.g. by
not using safe_mysql, the answer may be in the difference.
-Sincerely, Fred
Fred Lindberg, Inf. Dis., WashU, St. Louis, MO, USA